@import url('lotus-theme.css');

:root {
  --lotus-font-heading: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --lotus-font-body: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
  --lotus-font-card-title: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: var(--lotus-font-body);
  background: var(--lotus-bg);
  color: var(--lotus-text);
  min-height: 0;
  -webkit-font-smoothing: antialiased;
  letter-spacing: -0.008em;
}

.shell-screen {
  display: none;
  min-height: 0;
  padding-bottom: 0;
  animation: fadeIn 0.3s ease;
}

.shell-screen.active {
  display: flex;
  flex-direction: column;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

#screen-stay.active {
  overflow: hidden;
}

html[data-sandbox="1"] #screen-lang,
html[data-sandbox="1"] #screen-room,
html[data-sandbox="1"] #screen-stay,
html[data-sandbox="1"] #screen-waiting {
  display: none !important;
}

html[data-sandbox="1"]:not(.sandbox-booted) #screen-hub {
  display: flex !important;
  flex-direction: column;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(6px); }
  to { opacity: 1; transform: translateY(0); }
}

/* —— Language & room onboarding —— */
.onboard-hero {
  position: relative;
  height: 220px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  flex: 0 0 auto;
  overflow: hidden;
}

.onboard-hero .flow-hero-back {
  top: calc(12px + env(safe-area-inset-top, 0px));
}

.onboard-hero img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

.onboard-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 18, 18, 0.2) 0%, rgba(18, 18, 18, 0.92) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
}

/* Match hub / card heroes: white title, gold subtitle (beat booking.css gold h1 + grey p) */
#screen-lang .onboard-hero-overlay .lotus-wordmark,
#screen-room .onboard-hero-overlay h1,
#screen-stay .onboard-hero-overlay h1,
#screen-waiting .onboard-hero-overlay h1,
.onboard-hero h1:not(.lotus-wordmark) {
  font-family: var(--lotus-font-heading);
  font-size: 2.0625rem;
  font-weight: 600;
  color: #fff !important;
  letter-spacing: 0.02em;
}

#screen-lang .onboard-hero-overlay .lotus-wordmark {
  font-family: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  font-weight: 500;
  letter-spacing: 0.05em;
}

#screen-room .onboard-hero-overlay p,
#screen-stay .onboard-hero-overlay p,
#screen-waiting .onboard-hero-overlay p,
.onboard-hero p {
  font-size: 0.9rem;
  color: #E8C97A !important;
  font-weight: 600;
  margin-top: 4px;
  letter-spacing: 0.04em;
}

.onboard-body {
  padding: 24px 20px;
}

.onboard-body h2 {
  font-family: var(--lotus-font-heading);
  font-size: 1.25rem;
  margin-bottom: 8px;
  color: var(--lotus-text);
}

.onboard-body .hint {
  font-size: 0.88rem;
  color: rgba(242, 242, 242, 0.72);
  margin-bottom: 20px;
  line-height: 1.5;
}

.lang-pick {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.lang-pick button,
.btn-primary,
.btn-outline,
.service-card,
.info-card {
  border: 1px solid var(--lotus-border);
  border-radius: var(--lotus-radius);
  cursor: pointer;
  transition: var(--lotus-transition);
  font-family: var(--lotus-font-body);
}

/* Language pick — gold outline, no grey fills (beat booking.css) */
#screen-lang .lang-pick button,
.lang-pick button {
  background: transparent !important;
  color: var(--lotus-text);
  padding: 16px 12px;
  font-size: 1rem;
  font-weight: 500;
  border-radius: var(--lotus-radius-pill, 999px) !important;
  border: 1.5px solid rgba(184, 146, 74, 0.45) !important;
  box-shadow: none !important;
}

#screen-lang .lang-pick button:hover,
#screen-lang .lang-pick button:focus,
.lang-pick button:hover,
.lang-pick button:focus {
  border-color: var(--lotus-primary) !important;
  background: rgba(184, 146, 74, 0.1) !important;
  color: var(--lotus-primary);
}

.lang-pick button .flag { font-size: 1.5rem; display: block; margin-bottom: 6px; }

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

#screen-room .onboard-body,
#screen-lang .onboard-body,
#screen-waiting .onboard-body {
  padding-bottom: calc(28px + env(safe-area-inset-bottom, 0px));
}

/* Stay details — one viewport; labels above fields, dates side-by-side */
#screen-stay {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

#screen-stay .onboard-hero {
  height: min(160px, 26vh);
  flex: 0 0 auto;
}

#screen-stay .onboard-hero-overlay {
  padding: 16px 20px;
}

#screen-stay .onboard-hero h1:not(.lotus-wordmark) {
  font-size: 1.5rem;
}

#screen-stay .onboard-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px 20px calc(18px + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
}

#screen-stay .onboard-body h2 {
  font-size: 1.25rem;
  margin-bottom: 8px;
}

#screen-stay .onboard-body .hint {
  font-size: 0.88rem;
  margin-bottom: 0;
  line-height: 1.5;
}

#screen-stay #stay-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
  flex: 1 1 auto;
  justify-content: flex-start;
  padding: 12px 0 0;
  min-height: 0;
}

#screen-stay .stay-field,
#screen-stay .stay-date-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

#screen-stay #stay-form .field-label {
  margin: 0;
  display: block;
}

#screen-stay .stay-dates {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

#screen-stay #stay-form input:not([type="checkbox"]) {
  padding: 14px 16px;
  font-size: 1.05rem;
  width: 100%;
}

#screen-stay #stay-submit {
  margin-top: auto;
}

#screen-stay .stay-terms {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 0;
  padding: 12px 14px;
  border: 1px solid rgba(76, 201, 240, 0.22);
  border-radius: 12px;
  background: rgba(76, 201, 240, 0.06);
  cursor: pointer;
  width: 100%;
  box-sizing: border-box;
  min-width: 0;
}

#screen-stay .stay-terms input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  padding: 0;
  flex: 0 0 18px;
  accent-color: #4CC9F0;
  align-self: flex-start;
}

#screen-stay .stay-terms-copy {
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.88);
}

#screen-stay .stay-terms-link {
  align-self: flex-start;
  padding: 0;
  border: none;
  background: none;
  color: #4CC9F0;
  font: inherit;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

#screen-stay .stay-terms-error {
  margin: -8px 0 0;
  color: #F87171;
  font-size: 0.82rem;
}

.stay-terms-modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 16px;
}

.stay-terms-modal[hidden] {
  display: none !important;
}

.stay-terms-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: rgba(0, 0, 0, 0.65);
  cursor: pointer;
}

.stay-terms-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 420px);
  max-height: min(72vh, 520px);
  overflow: auto;
  padding: 20px 18px 18px;
  border-radius: 16px 16px 12px 12px;
  background: #111;
  border: 1px solid rgba(76, 201, 240, 0.22);
  color: #fff;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.55);
}

.stay-terms-panel h2 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.stay-terms-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 16px;
  font-size: 0.92rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.82);
}

.stay-terms-body p {
  margin: 0;
}

.stay-terms-panel .btn-primary {
  width: 100%;
  flex-shrink: 0;
}

/* —— 25% in-stay upsell (after room confirmation, 3+ nights) —— */
.stay-offer-celebrate {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
  pointer-events: auto;
}

.stay-offer-celebrate[hidden] {
  display: none !important;
}

.stay-offer-celebrate-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.58);
  cursor: pointer;
}

.stay-offer-celebrate-panel {
  position: relative;
  z-index: 1;
  width: min(100%, 340px);
  padding: 26px 20px 20px;
  border-radius: var(--lotus-radius, 16px);
  background: var(--lotus-bg-card, #161616);
  border: 1px solid var(--lotus-border-gold, rgba(184, 146, 74, 0.22));
  box-shadow: var(--lotus-shadow, 0 8px 32px rgba(0, 0, 0, 0.4));
  color: var(--lotus-text, #F2F2F2);
  text-align: center;
  animation: stay-offer-panel-in 0.4s var(--lotus-ease, cubic-bezier(0.16, 1, 0.3, 1));
}

@keyframes stay-offer-panel-in {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.stay-offer-celebrate-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--lotus-text-muted, #888888);
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.stay-offer-celebrate-close:hover {
  color: var(--lotus-ivory, #F5EFE6);
}

.stay-offer-celebrate-eyebrow {
  margin: 0 0 6px;
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--lotus-primary, #B8924A);
}

.stay-offer-celebrate-badge {
  margin: 0 0 6px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.85rem, 7vw, 2.2rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--lotus-primary, #B8924A);
}

.stay-offer-celebrate-title {
  margin: 0 0 8px;
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  color: var(--lotus-ivory, #F5EFE6);
}

.stay-offer-celebrate-lead {
  margin: 0 0 18px;
  font-size: 0.88rem;
  line-height: 1.45;
  color: var(--lotus-text-muted, #888888);
}

.stay-offer-celebrate-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.stay-offer-celebrate-svc {
  margin: 0;
  padding: 12px 8px;
  border-radius: 12px;
  border: 1px solid var(--lotus-border-gold, rgba(184, 146, 74, 0.22));
  background: rgba(184, 146, 74, 0.08);
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lotus-ivory, #F5EFE6);
  cursor: pointer;
}

.stay-offer-celebrate-svc:hover {
  border-color: rgba(184, 146, 74, 0.45);
  background: rgba(184, 146, 74, 0.14);
}

body.stay-offer-celebrate-open {
  overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
  .stay-offer-celebrate-panel {
    animation: none !important;
  }
}

/* Room + stay fields — underline only, no grey browser boxes */
.room-form input:not([type="checkbox"]),
#screen-room #room-input,
#screen-stay #stay-form input[type="text"],
#screen-stay #stay-form input[type="date"] {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-height: 48px;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--lotus-text, #F2F2F2);
  caret-color: var(--lotus-primary, #B8924A);
  padding: 12px 0 14px !important;
  font-size: 1.12rem;
  text-align: center;
  letter-spacing: 0.06em;
  color-scheme: dark;
  -webkit-user-select: text;
  user-select: text;
  pointer-events: auto;
}

#screen-stay #stay-form input[type="text"],
#screen-stay #stay-form input[type="date"] {
  text-align: left;
  letter-spacing: -0.01em;
}

.room-form input::placeholder,
#screen-room #room-input::placeholder {
  color: rgba(242, 242, 242, 0.38);
  letter-spacing: 0.02em;
}

.room-form input:not([type="checkbox"]):focus,
#screen-room #room-input:focus,
#screen-stay #stay-form input[type="text"]:focus,
#screen-stay #stay-form input[type="date"]:focus {
  outline: none !important;
  border-bottom-color: rgba(184, 146, 74, 0.85) !important;
  box-shadow: none !important;
}

#screen-stay #stay-form input[type="date"]::-webkit-calendar-picker-indicator {
  opacity: 0.85;
  cursor: pointer;
  filter: invert(1);
}

.btn-primary {
  background: var(--lotus-primary);
  color: #0D0D0D;
  border-color: var(--lotus-primary);
  border-radius: var(--lotus-radius-pill);
  padding: 14px 24px;
  font-size: 0.9rem;
  font-weight: 600;
  width: 100%;
  transition: background var(--lotus-transition), transform var(--lotus-transition), box-shadow var(--lotus-transition);
}

.btn-primary:hover:not(:disabled) {
  background: var(--lotus-primary-dark);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px var(--lotus-primary-glow);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: default;
}

.btn-outline {
  background: transparent;
  color: var(--lotus-primary);
  border-color: var(--lotus-border-gold);
  border-radius: var(--lotus-radius-pill);
  padding: 10px 18px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: background var(--lotus-transition), border-color var(--lotus-transition);
}

.btn-outline:hover {
  background: var(--lotus-primary-light);
  border-color: var(--lotus-primary);
}

/* —— Hub —— */
.hub-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(13, 13, 13, 0.88);
  backdrop-filter: blur(24px) saturate(160%);
  -webkit-backdrop-filter: blur(24px) saturate(160%);
  border-bottom: 1px solid var(--lotus-border-gold);
  padding: 14px 16px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 8px;
}

.hub-brand {
  font-family: var(--lotus-font-heading);
  font-size: 1.3125rem;
  color: var(--lotus-primary);
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Hub wordmark — larger on web; Telegram phone needs a smaller fit (no ellipsis). */
html[data-surface="web"] #screen-hub .hub-header .hub-brand.lotus-wordmark,
html[data-surface="web"] #screen-hub.active.has-bottom-nav .hub-header .hub-brand.lotus-wordmark,
html.platform-web #screen-hub .hub-header .hub-brand.lotus-wordmark {
  font-size: clamp(2.1875rem, calc(var(--hub-w) * 0.094), 2.925rem) !important;
  letter-spacing: 0.07em;
}

html[data-surface="telegram"] #screen-hub .hub-header .hub-brand.lotus-wordmark,
html[data-surface="telegram"] #screen-hub.active.has-bottom-nav .hub-header .hub-brand.lotus-wordmark,
html[data-surface="telegram"] #screen-hub.has-bottom-nav .hub-header .hub-brand.lotus-wordmark,
body.tg-app #screen-hub.active.has-bottom-nav .hub-header .hub-brand,
body.tg-app #screen-hub.active.has-bottom-nav .hub-header .hub-brand.lotus-wordmark {
  font-size: clamp(2rem, calc(var(--hub-w) * 0.088), 2.4rem) !important;
  letter-spacing: 0.04em !important;
  font-weight: 500;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  text-align: center !important;
  justify-self: stretch !important;
}

.hub-header.subpage-header,
.hub-header.transport-header,
.hub-header:has(.cv-back-btn) {
  grid-template-columns: auto 1fr;
  gap: 12px;
}

.hub-room-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--lotus-primary);
  background: var(--lotus-primary-light);
  border: 1px solid var(--lotus-border-gold);
  border-radius: var(--lotus-radius-pill);
  padding: 4px 12px;
  letter-spacing: 0.02em;
}

.hub-hero {
  margin: 0;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  height: 140px;
  width: 100%;
  max-width: none;
  min-width: 0;
  flex-shrink: 0;
}





#screen-hub .hub-room-badge {
  grid-column: 3;
  grid-row: 1;
  justify-self: end;
  z-index: 1;
}

#screen-hub .hub-room-badge {
  flex-shrink: 0;
}



.hub-hero img,




.hub-hero-caption h2 {
  font-family: var(--lotus-font-heading);
  font-size: 1.2rem;
}

.hub-hero-caption p {
  font-size: 0.82rem;
  color: var(--lotus-text-muted);
  margin-top: 4px;
}

.hub-section-title {
  padding: 8px 16px 12px;
  font-family: var(--lotus-font-heading);
  font-size: 1.05rem;
  color: var(--lotus-text-muted);
}



.service-card {
  background: transparent;
  color: var(--lotus-text);
  padding: 12px 6px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 84px;
  border-radius: var(--lotus-radius-pill);
  border: 1px solid rgba(184, 146, 74, 0.28);
  transition: border-color var(--lotus-transition), transform var(--lotus-transition), box-shadow var(--lotus-transition);
}

.service-card:hover,
.service-card:focus {
  border-color: var(--lotus-border-gold);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

.service-card .icon { font-size: 1.5rem; }
.service-card .title { font-weight: 600; font-size: 0.76rem; line-height: 1.25; word-break: break-word; }
.service-card .sub { display: none; }


.service-card.wide {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  min-height: auto;
}

/* —— Help —— */
.help-sub {
  font-size: 0.82rem;
  color: var(--lotus-text-muted);
  line-height: 1.4;
  padding: 12px 16px 0;
  margin: 0;
}

.help-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 8px 16px 24px;
  overflow-y: auto;
}

.help-faq-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.help-faq-item {
  background: transparent;
  border: 1px solid rgba(184, 146, 74, 0.28);
  border-radius: var(--lotus-radius);
  overflow: hidden;
}

.help-faq-item[open] {
  border-color: var(--lotus-border-gold);
}

.help-faq-q {
  list-style: none;
  cursor: pointer;
  padding: 14px 40px 14px 16px;
  font-family: var(--lotus-font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.35;
  color: var(--lotus-ivory);
  position: relative;
}

.help-faq-q::-webkit-details-marker {
  display: none;
}

.help-faq-q::after {
  content: '›';
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg);
  color: var(--lotus-primary);
  font-size: 1.1rem;
  transition: transform 0.2s var(--lotus-ease);
}

.help-faq-item[open] .help-faq-q::after {
  transform: translateY(-50%) rotate(-90deg);
}

.help-faq-a {
  padding: 0 16px 16px;
  border-top: 1px solid var(--lotus-border);
}

.help-faq-a p {
  margin: 12px 0 0;
  font-size: 0.82rem;
  color: var(--lotus-text-muted);
  line-height: 1.55;
}

.help-faq-a strong {
  color: var(--lotus-primary);
  font-weight: 600;
}

.help-faq-btn {
  width: 100%;
  margin-top: 12px;
}

.help-faq-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 12px;
}

.help-faq-actions .help-faq-btn {
  margin-top: 0;
}

.transport-header {
  grid-template-columns: auto 1fr;
}

.transport-airport-hint {
  padding: 0 16px 10px;
  font-size: 0.78rem;
  color: var(--lotus-text-muted);
  line-height: 1.4;
}

.catalog-screen .transport-item {
  cursor: pointer;
}

.catalog-screen .transport-item .price.quote {
  font-family: var(--lotus-font-body);
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--lotus-text-muted);
}

.catalog-screen .transport-book-pill {
  appearance: none;
  border: 1.5px solid var(--apsara-primary, #B8924A);
  background: var(--apsara-primary, #B8924A);
  color: #0a0a0a;
  border-radius: var(--lotus-radius-pill, 999px);
  padding: 8px 14px;
  font-family: var(--lotus-font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  transition: var(--lotus-transition);
}

.catalog-screen .transport-book-pill:hover,
.catalog-screen .transport-book-pill:focus-visible {
  filter: brightness(1.06);
}

.catalog-screen .transport-item .item-image-btn {
  cursor: pointer;
  padding: 0;
  overflow: hidden;
}

.catalog-screen .transport-item .item-image-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.transport-list {
  display: grid;
  gap: 10px;
  padding: 0 16px 16px;
}

.transport-option {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0;
  padding: 14px 4px;
  color: var(--lotus-text);
  cursor: pointer;
  transition: var(--lotus-transition);
  font-family: var(--lotus-font-body);
}

.transport-option:hover,
.transport-option:focus {
  border-color: transparent;
  border-bottom-color: rgba(184, 146, 74, 0.45);
  transform: none;
  box-shadow: none;
}

.transport-option .price s {
  opacity: 0.55;
  margin-right: 4px;
  font-weight: 500;
}

.transport-option .price strong {
  color: var(--lotus-primary);
  font-weight: 700;
}

.transport-option .icon {
  flex-shrink: 0;
  width: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  line-height: 0;
  text-align: center;
}

.transport-option .icon .app-icon {
  margin-bottom: 0;
}

.transport-book-summary .icon {
  flex-shrink: 0;
  font-size: 0;
  line-height: 0;
}

.transport-book-summary .icon .app-icon {
  width: 1.65rem;
  height: 1.65rem;
  padding: 8px;
  margin-bottom: 0;
  border-radius: 12px;
  background: linear-gradient(145deg, rgba(184, 146, 74, 0.14), rgba(184, 146, 74, 0.05));
  border: 1px solid var(--lotus-border-gold, rgba(184, 146, 74, 0.45));
  box-sizing: content-box;
  color: var(--lotus-primary);
}

.transport-book-price s {
  opacity: 0.55;
  margin-right: 6px;
  font-weight: 500;
}

.success-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-size: 0;
  line-height: 0;
}

.success-icon .app-icon {
  width: 2rem;
  height: 2rem;
  padding: 12px;
  border-radius: 999px;
  background: rgba(184, 146, 74, 0.14);
  border: 1px solid rgba(184, 146, 74, 0.4);
  box-sizing: content-box;
  color: var(--lotus-primary);
}

.transport-option .body {
  flex: 1;
  min-width: 0;
}

.transport-option .title {
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1.25;
}

.transport-option .sub {
  font-size: 0.78rem;
  color: var(--lotus-text-muted);
  margin-top: 3px;
  line-height: 1.35;
}

.transport-option .price {
  flex-shrink: 0;
  font-family: var(--lotus-font-heading);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--lotus-primary);
}

.transport-option .price.quote {
  font-size: 0.78rem;
  font-family: var(--lotus-font-body);
  font-weight: 500;
  color: var(--lotus-text-muted);
}

.transport-option .price.book {
  font-size: 0.82rem;
  font-family: var(--lotus-font-body);
  font-weight: 700;
  color: var(--lotus-primary);
  letter-spacing: 0.04em;
}

.transport-book-body {
  padding: 0 16px 24px;
  display: grid;
  gap: 16px;
}

.transport-book-summary {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: transparent;
  border: 1px solid rgba(184, 146, 74, 0.28);
  border-radius: var(--lotus-radius);
  padding: 16px;
}

.transport-book-summary .icon {
  font-size: 2rem;
  line-height: 1;
}

.transport-book-summary h3 {
  font-family: var(--lotus-font-heading);
  font-size: 1.05rem;
  color: var(--lotus-primary);
  margin-bottom: 4px;
}

.transport-book-summary p {
  font-size: 0.84rem;
  color: var(--lotus-text-muted);
  line-height: 1.45;
}

.transport-book-price {
  margin-top: 8px;
  font-family: var(--lotus-font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--lotus-primary);
}

.transport-book-form {
  display: grid;
  gap: 12px;
}

.transport-now-btn {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--lotus-radius-pill);
  border: 1.5px solid rgba(184, 146, 74, 0.35);
  background: transparent;
  color: var(--lotus-text);
  font-family: var(--lotus-font-body);
  font-size: 0.92rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--lotus-transition);
}

.transport-now-btn.is-active {
  border-color: var(--lotus-primary);
  background: rgba(201, 169, 98, 0.14);
  color: var(--lotus-primary);
  box-shadow: none;
}

.transport-field {
  display: grid;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--lotus-text-muted);
}

.transport-field input,
.transport-field select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(184, 146, 74, 0.35);
  border-radius: var(--lotus-radius-pill);
  background: transparent;
  color: var(--lotus-text);
  font-family: var(--lotus-font-body);
  font-size: 0.95rem;
}

.transport-field input:disabled,
.transport-field select:disabled {
  opacity: 0.45;
}

.transport-book-hint {
  font-size: 0.78rem;
  color: var(--lotus-text-muted);
  line-height: 1.45;
}

/* —— Info —— */
.info-list {
  padding: 0 16px 24px;
  display: grid;
  gap: 0;
}

.info-stay-card {
  padding-top: 8px;
}

.info-stay-summary {
  margin: 0.35rem 0 0;
  padding: 0;
}

.info-stay-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  padding: 0.4rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.info-stay-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.info-stay-row dt {
  margin: 0;
  font-size: 0.82rem;
  color: var(--lotus-text-muted);
  font-weight: 500;
}

.info-stay-row dd {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--lotus-text);
  text-align: right;
}

.info-card {
  background: transparent;
  padding: 16px 0;
  text-align: left;
  overflow: hidden;
  border-radius: 0;
  border: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.info-card:last-child {
  border-bottom: none;
}

.info-card-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
  border-radius: var(--lotus-radius-sm);
  margin-bottom: 12px;
  display: block;
}

.info-card h3 {
  font-family: var(--lotus-font-heading);
  font-size: 1rem;
  color: var(--lotus-primary);
  margin-bottom: 6px;
}

.info-card p {
  font-size: 0.88rem;
  color: var(--lotus-text-muted);
  line-height: 1.5;
}

/* Catalog styles live in mini-app-shell.css */

/* —— Bottom navigation —— */
#app-bottom-nav[hidden],
#app-bottom-nav.is-hidden,
body.catalog-open #app-bottom-nav,
body.subpage-open #app-bottom-nav {
  display: none !important;
}

.bottom-nav {
  position: relative;
  bottom: auto;
  left: auto;
  right: auto;
  flex-shrink: 0;
  display: flex;
  background: rgba(16, 16, 16, 0.92);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-top: 1px solid var(--lotus-border);
  z-index: 40;
  min-height: 60px;
  padding: 8px 10px 6px;
}

body.tg-app .bottom-nav {
  padding-bottom: calc(8px + var(--tg-safe-bottom, env(safe-area-inset-bottom, 0px)));
  min-height: calc(60px + var(--tg-safe-bottom, env(safe-area-inset-bottom, 0px)));
}

body:not(.tg-app) .bottom-nav {
  padding-bottom: calc(8px + env(safe-area-inset-bottom, 0));
  min-height: calc(60px + env(safe-area-inset-bottom, 0));
}

.bottom-nav-btn {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  background: none;
  border: none;
  color: var(--lotus-text-muted);
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 6px 2px;
  cursor: pointer;
  position: relative;
  transition: color 0.3s var(--lotus-ease);
  min-width: 0;
  min-height: 44px;
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.bottom-nav-btn > span:not(.nav-icon):not(.nav-badge):not(.app-icon) {
  display: block;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.bottom-nav-btn.active { color: var(--lotus-primary); }

.bottom-nav-btn:not(.active):hover,
.bottom-nav-btn:not(.active):focus-visible {
  color: var(--lotus-primary) !important;
}

.bottom-nav-btn .nav-icon,
.bottom-nav-btn .app-icon {
  width: 1.28rem;
  height: 1.28rem;
  flex-shrink: 0;
  transition:
    color 0.3s var(--lotus-ease),
    opacity 0.3s var(--lotus-ease),
    transform 0.3s var(--lotus-ease),
    filter 0.3s var(--lotus-ease);
}

.bottom-nav-btn:not(.active):not(.nav-chat-primary):hover .nav-icon,
.bottom-nav-btn:not(.active):not(.nav-chat-primary):hover .app-icon,
.bottom-nav-btn:not(.active):not(.nav-chat-primary):focus-visible .nav-icon,
.bottom-nav-btn:not(.active):not(.nav-chat-primary):focus-visible .app-icon {
  opacity: 1 !important;
  color: var(--lotus-primary) !important;
  filter: drop-shadow(0 0 6px rgba(184, 146, 74, 0.4)) !important;
  transform: scale(1.1);
}

.bottom-nav-btn.active:not(.nav-chat-primary) .nav-icon,
.bottom-nav-btn.active:not(.nav-chat-primary) .app-icon {
  filter: drop-shadow(0 0 6px rgba(184, 146, 74, 0.4));
}

.nav-badge {
  position: absolute;
  top: 4px;
  right: calc(50% - 22px);
  min-width: 16px;
  height: 16px;
  border-radius: 999px;
  background: var(--lotus-primary);
  color: #0D0D0D;
  font-size: 0.62rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.nav-badge[hidden] { display: none !important; }

/* —— Activity feed —— */
.activity-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 12px 16px 12px;
  padding: 0 0 8px;
  border-radius: 0;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--lotus-border);
}

.activity-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 8px 10px;
  border: none;
  border-bottom: 2px solid transparent;
  border-radius: 0;
  background: transparent;
  color: var(--lotus-text-muted);
  font-family: var(--lotus-font-body);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--lotus-transition);
}

.activity-tab.is-active {
  background: transparent;
  color: var(--lotus-primary);
  box-shadow: none;
  border-bottom-color: var(--lotus-primary);
}

.activity-tab-badge {
  min-width: 16px;
  height: 16px;
  border-radius: 8px;
  background: var(--lotus-primary);
  color: #121212;
  font-size: 0.62rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}

.activity-tab-badge[hidden] {
  display: none !important;
}

.activity-list {
  padding: 0 16px 16px;
  display: grid;
  gap: 0;
}

.activity-empty {
  padding: 32px 20px;
  text-align: center;
  color: var(--lotus-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Empty Activity: center message in the remaining viewport (open + completed) */
body.shell-app #screen-activity.active {
  display: flex !important;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

body.shell-app #screen-activity.active > .activity-list:empty,
body.shell-app #screen-activity.active:has(> .activity-empty:not([hidden])) > .activity-list {
  flex: 0 0 auto !important;
  display: none !important;
  min-height: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

body.shell-app #screen-activity.active > .activity-empty:not([hidden]) {
  flex: 1 1 0 !important;
  min-height: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-align: center !important;
  margin: 0 !important;
  padding: 28px 32px calc(28px + env(safe-area-inset-bottom, 0px)) !important;
  box-sizing: border-box;
  max-width: 100%;
}

.activity-card {
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--lotus-border);
  border-radius: 0;
  padding: 14px 0;
}

.activity-card:last-child {
  border-bottom: none;
}

.activity-card-head {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 10px;
  align-items: start;
}

.activity-icon {
  font-size: 1.4rem;
  line-height: 1;
}

.activity-card h3 {
  font-family: var(--lotus-font-card-title);
  font-size: 0.95rem;
  font-weight: 700;
}

.activity-card time {
  display: block;
  font-size: 0.75rem;
  color: var(--lotus-text-muted);
  margin-top: 2px;
}

.activity-status {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 4px 10px;
  border-radius: 999px;
  background: transparent;
  color: var(--lotus-text-muted);
  white-space: nowrap;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.activity-card.status-submitted .activity-status {
  background: transparent;
  color: var(--lotus-text-muted);
  border-color: rgba(255, 255, 255, 0.14);
}

.activity-card.status-confirmed .activity-status,
.activity-card.status-booked .activity-status,
.activity-card.status-preparing .activity-status {
  background: rgba(184, 146, 74, 0.16);
  color: var(--lotus-primary);
  border-color: rgba(184, 146, 74, 0.4);
}

.activity-card.status-delivered .activity-status,
.activity-card.status-completed .activity-status {
  background: rgba(72, 160, 104, 0.14);
  color: #6fcf97;
  border-color: rgba(72, 160, 104, 0.35);
}

.activity-summary {
  margin-top: 10px;
  font-size: 0.84rem;
  color: var(--lotus-text-muted);
  line-height: 1.45;
}

.activity-meta {
  margin-top: 8px;
  display: flex;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--lotus-primary);
  font-weight: 600;
}

/* —— Success screen —— */
#screen-success {
  display: none;
  align-items: center;
  justify-content: center;
  min-height: 0;
  flex: 1 1 auto;
  padding: 24px 20px;
}

#screen-success.active {
  display: flex;
}

.success-panel {
  width: 100%;
  max-width: 360px;
  text-align: center;
  background: #0a0a0a;
  border: 1px solid rgba(184, 146, 74, 0.28);
  border-radius: var(--lotus-radius);
  padding: 28px 22px;
}

.success-panel h2 {
  font-family: var(--lotus-font-heading);
  font-size: 1.35rem;
  margin-bottom: 8px;
}

.success-room,
.success-summary {
  font-size: 0.9rem;
  color: var(--lotus-text-muted);
  line-height: 1.5;
  margin-top: 6px;
}

.success-total {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--lotus-primary);
  margin-top: 10px;
}

.success-status {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--lotus-primary);
}

.success-actions {
  margin-top: 22px;
  display: grid;
  gap: 10px;
}

/* —— Messages (layout in mini-app-shell.css) —— */
.messages-screen {
  display: none;
}

.msg-bubble.msg-status {
  border-width: 1px;
  padding: 12px 14px;
  box-shadow: 0 0 0 1px rgba(184, 146, 74, 0.06);
}

.msg-bubble.msg-status-confirmed {
  background: linear-gradient(145deg, rgba(184, 146, 74, 0.14), rgba(184, 146, 74, 0.05));
  border-color: rgba(184, 146, 74, 0.45);
  box-shadow: 0 0 16px rgba(184, 146, 74, 0.1);
}

.msg-bubble.msg-status-delivered {
  background: linear-gradient(145deg, rgba(88, 166, 110, 0.18), rgba(88, 166, 110, 0.06));
  border-color: rgba(88, 166, 110, 0.5);
  box-shadow: 0 0 18px rgba(88, 166, 110, 0.1);
}

.msg-bubble.msg-status-completed {
  background: linear-gradient(145deg, rgba(120, 150, 130, 0.14), rgba(120, 150, 130, 0.05));
  border-color: rgba(120, 150, 130, 0.45);
}

.msg-bubble.msg-status-booked {
  background: linear-gradient(145deg, rgba(110, 155, 200, 0.16), rgba(110, 155, 200, 0.06));
  border-color: rgba(110, 155, 200, 0.45);
}

.msg-bubble.msg-status-submitted {
  background: linear-gradient(145deg, rgba(201, 169, 98, 0.1), rgba(201, 169, 98, 0.04));
  border-color: rgba(201, 169, 98, 0.35);
}

.msg-status-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin-bottom: 10px;
}

.msg-status-title {
  font-family: var(--lotus-font-heading);
  font-size: 1rem;
  font-weight: 600;
  color: var(--lotus-text);
}

.msg-status-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #1a1408;
  background: var(--lotus-primary);
}

.msg-status-badge-wide {
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 0.82rem;
  border-radius: var(--lotus-radius-sm);
}

.msg-status-confirmed .msg-status-badge {
  background: var(--lotus-primary);
  box-shadow: 0 0 12px rgba(201, 169, 98, 0.35);
}

.msg-status-delivered .msg-status-badge {
  background: #6fcf8a;
  color: #0f1a12;
}

.msg-status-completed .msg-status-badge {
  background: #9bb5a4;
  color: #101814;
}

.msg-status-booked .msg-status-badge {
  background: #7eb8e8;
  color: #0d1520;
}

.msg-status-divider {
  height: 1px;
  margin: 0 0 10px;
  background: linear-gradient(90deg, transparent, rgba(184, 146, 74, 0.38), transparent);
  border: 0;
}

.msg-status-delivered .msg-status-divider {
  background: linear-gradient(90deg, transparent, rgba(88, 166, 110, 0.38), transparent);
}

.msg-status-body {
  display: grid;
  gap: 6px;
}

.msg-status-detail {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--lotus-text);
}

.msg-status-total {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--lotus-primary);
}

/* Chat pills — mini-app-shell.css */

#app-bottom-nav .bottom-nav-btn {
  font-size: 0.62rem;
  font-family: var(--lotus-font-body);
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── Back button on subpage headers ── */
.back-btn {
  background: none;
  border: none;
  color: var(--lotus-primary);
  font-size: 1.35rem;
  padding: 4px 8px;
  cursor: pointer;
  transition: opacity 0.2s;
}
.back-btn:hover { opacity: 0.75; }


/* In-room stay approval waiting summary */
.waiting-summary {
  margin: 1rem 0 0.75rem;
  padding: 0;
}
.waiting-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid color-mix(in srgb, var(--lotus-text, #1a1a1a) 12%, transparent);
}
.waiting-row dt {
  opacity: 0.7;
  font-size: 0.9rem;
}
.waiting-row dd {
  margin: 0;
  font-weight: 600;
  text-align: right;
}
.waiting-refresh-note {
  margin-top: 1rem;
  font-size: 0.85rem;
  opacity: 0.65;
}
.field-label {
  display: block;
  margin: 0.75rem 0 0.35rem;
  font-size: 0.9rem;
  font-weight: 600;
}
#stay-form .btn-primary {
  margin-top: 1.1rem;
}

/* Full-bleed hub banner — square, edge-to-edge (web + Telegram) */
.hub-hero,
.hub-hero--text,
.hub-hero img,
.hub-hero-photo {
  border-radius: 0 !important;
}

#screen-hub.has-bottom-nav > #hub-chat-dock .card-support-icon {
  display: none !important;
}

#screen-hub.has-bottom-nav > #hub-chat-dock .card-support-badge {
  position: absolute;
  top: 12px;
  right: 14px;
  z-index: 12;
}

/* In-room hub: Room Service photo runs under the wordmark, like pre-arrival Book Room.
   Keep the brand in normal flow — absolute + top:auto ignored padding and sat under
   Telegram chrome whenever fullscreen insets lagged or the engine picked a different
   static position. */
#screen-hub.active.has-bottom-nav .hub-header,
body.shell-app #screen-hub.active.has-bottom-nav .hub-header,
html[data-surface="telegram"] #screen-hub.active.has-bottom-nav .hub-header,
html[data-surface="web"] body.shell-app #screen-hub.active.has-bottom-nav .hub-header {
  position: absolute !important;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: grid !important;
  grid-template-columns: 1fr !important;
  justify-items: center;
  align-items: start;
  pointer-events: none !important;
  background: transparent !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  border: 0 !important;
  padding-bottom: 8px !important;
  padding-left: 12px !important;
  padding-right: 12px !important;
}

/* In-room Telegram: Lotus Boutique sits below status + Close.
   Compact / fullscreenFailed must NOT pull this back to 8px — Android still
   overlays Close on the WebView. */
html[data-surface="telegram"] #screen-hub.active.has-bottom-nav .hub-header,
html[data-surface="telegram"] body.tg-app #screen-hub.active.has-bottom-nav .hub-header,
html[data-surface="telegram"] body.tg-fullscreen #screen-hub.active.has-bottom-nav .hub-header,
html[data-surface="telegram"] body.tg-compact-chrome #screen-hub.active.has-bottom-nav .hub-header,
html[data-surface="telegram"] body.tg-compact-chrome.tg-app #screen-hub.active.has-bottom-nav .hub-header,
body.tg-app #screen-hub.active.has-bottom-nav .hub-header,
body.tg-app.tg-compact-chrome #screen-hub.active.has-bottom-nav .hub-header,
body.shell-app.tg-app #screen-hub.active.has-bottom-nav .hub-header {
  padding-top: calc(
    8px + max(
      108px,
      var(--tg-content-top, 0px),
      calc(env(safe-area-inset-top, 0px) + 56px)
    )
  ) !important;
  padding-left: 56px !important;
  padding-right: 56px !important;
}

#screen-hub.active.has-bottom-nav .hub-header .hub-header-start,
#screen-hub.active.has-bottom-nav .hub-header .hub-header-end {
  display: none;
}

#screen-hub.active.has-bottom-nav .hub-header .hub-brand {
  color: #fff;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.8), 0 0 18px rgba(0, 0, 0, 0.45);
  position: relative;
  left: auto;
  top: auto;
  transform: none;
  display: block;
  grid-column: 1 / -1;
  justify-self: stretch;
  width: 100%;
  max-width: none;
  margin: 0;
  text-align: center;
  pointer-events: none;
}

#screen-hub .hub-header {
  position: relative;
}

/* No top wash on Room Service hero — photo stays clear under the wordmark. */
#screen-hub.active.has-bottom-nav .home-content > .card-hero .card-hero-overlay {
  background: linear-gradient(
    180deg,
    rgba(5, 5, 5, 0) 0%,
    rgba(5, 5, 5, 0) 42%,
    rgba(5, 5, 5, 0.22) 58%,
    rgba(5, 5, 5, 0.88) 100%
  ) !important;
}

body.shell-app #screen-hub .hub-header,
html[data-surface="web"] body.shell-app #screen-hub .hub-header,
html[data-surface="browser"] body.shell-app #screen-hub .hub-header,
body.in-iframe #screen-hub .hub-header {
  grid-template-columns: 48px minmax(0, 1fr) auto !important;
}

html.sandbox-booted,
html.sandbox-booted body {
  height: 100%;
  max-height: 100%;
  overflow: hidden;
}

/* In-room catalogs/subpages: pre-arrival full-bleed heroes, not the short sticky bar */
.catalog-screen > .flow-hero.catalog-topbar,
#screen-offers > .flow-hero,
#screen-activity > .flow-hero,
#screen-messages > .flow-hero,
#screen-room-issues > .flow-hero,
#screen-transport > .flow-hero,
#screen-transport-book > .flow-hero,
#screen-info > .flow-hero {
  display: block;
  position: relative;
  top: auto;
  z-index: 5;
  height: auto;
  min-height: 0;
  padding: 0 !important;
  gap: 0;
  align-items: stretch;
  background: #0a0a0a !important;
  background-image: none !important;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border-bottom: 0 !important;
  overflow: hidden;
}

body.shell-app #screen-offers.active > .offers-home,
body.shell-app #screen-activity.active > .activity-list,
body.shell-app #screen-info.active > .info-list,
body.shell-app #screen-transport-book.active > .transport-book-body {
  flex: 1 1 0;
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

body.shell-app #screen-offers.active > .offers-home {
  overflow: hidden;
}

body.shell-app #screen-activity.active > .activity-tabs {
  flex-shrink: 0;
}

body.shell-app #screen-offers.active,
body.shell-app #screen-info.active,
body.shell-app #screen-transport-book.active {
  overflow: hidden;
}

body.shell-app #screen-transport.active {
  overflow: hidden;
}

/* Catalog rows: separators like pre-arrival spa/tours, not grey cards */
.catalog-screen .cv-items,
.catalog-screen .items {
  gap: 0;
  padding: 0 12px 16px;
}

.catalog-screen .item-card,
body.shell-app .catalog-screen .item-card,
body.in-iframe .catalog-screen .item-card,
html[data-surface="web"] body.shell-app .catalog-screen .item-card,
html[data-surface="browser"] body.shell-app .catalog-screen .item-card {
  display: grid !important;
  grid-template-columns: 104px minmax(0, 1fr) auto !important;
  gap: 12px !important;
  align-items: center !important;
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 12px 4px !important;
}

.catalog-screen .item-card:last-child {
  border-bottom: none !important;
}

.catalog-screen .item-info,
body.shell-app .catalog-screen .item-info,
body.in-iframe .catalog-screen .item-info,
html[data-surface="web"] body.shell-app .catalog-screen .item-info,
html[data-surface="browser"] body.shell-app .catalog-screen .item-info {
  min-width: 0 !important;
  grid-column: 2;
  overflow: hidden;
}

.catalog-screen .item-info h3,
.catalog-screen .item-info .meta,
.catalog-screen .item-info .price {
  display: block;
  max-width: 100%;
}

.catalog-screen .item-image-btn,
body.shell-app .catalog-screen .item-image-btn,
body.in-iframe .catalog-screen .item-image-btn,
html[data-surface="web"] body.shell-app .catalog-screen .item-image-btn,
html[data-surface="browser"] body.shell-app .catalog-screen .item-image-btn {
  grid-column: 1;
  grid-row: 1;
  width: 104px !important;
  height: 78px !important;
  flex-shrink: 0 !important;
  background: transparent !important;
  border-radius: 8px;
}

body.in-iframe .catalog-screen .item-image-btn {
  width: 80px !important;
  height: 60px !important;
}

body.in-iframe .catalog-screen .item-card {
  grid-template-columns: 80px minmax(0, 1fr) auto !important;
}

.catalog-screen .qty-controls,
body.shell-app .catalog-screen .qty-controls {
  grid-column: 3;
  flex-shrink: 0;
}

.catalog-screen .laundry-select-btn,
body.shell-app .catalog-screen .laundry-select-btn {
  appearance: none;
  border: 1.5px solid var(--apsara-primary, #B8924A);
  background: transparent;
  color: var(--apsara-primary, #B8924A);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
}

.catalog-screen .laundry-select-btn.is-selected,
body.shell-app .catalog-screen .laundry-select-btn.is-selected {
  background: var(--apsara-primary, #B8924A);
  color: #0D0D0D;
}

#screen-laundry .cv-cart-bar,
#screen-laundry .cart-bar,
body.shell-app #screen-laundry .cv-cart-bar {
  display: none !important;
}

/* Category chips: pre-arrival gold pills, not circular-icon chips */
.catalog-screen .cat-btn,
body.shell-app .catalog-screen .cat-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  border: 1.5px solid var(--apsara-primary, #B8924A);
  color: var(--apsara-primary, #B8924A);
  border-radius: var(--lotus-radius-pill, 999px);
  padding: 7px 14px;
  font-size: 0.82rem;
  font-weight: 500;
  white-space: nowrap;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.catalog-screen .cat-btn-icon,
body.shell-app .catalog-screen .cat-btn-icon {
  width: auto;
  height: auto;
  border: none;
  background: transparent;
  border-radius: 0;
  color: inherit;
}

.catalog-screen .cat-btn .app-icon,
.catalog-screen .cat-btn.active .app-icon,
body.shell-app .catalog-screen .cat-btn.active .app-icon {
  color: inherit;
  background: none;
  border-radius: 0;
  padding: 0;
  box-sizing: border-box;
}

.catalog-screen .cat-btn:hover,
.catalog-screen .cat-btn.active,
body.shell-app .catalog-screen .cat-btn:hover,
body.shell-app .catalog-screen .cat-btn.active {
  background: var(--apsara-primary, #B8924A);
  border-color: var(--apsara-primary, #B8924A);
  color: #0D0D0D;
  font-weight: 600;
}

/* In-room Offers — one viewport, no scroll */
body.shell-app #screen-offers.active.has-bottom-nav,
body.shell-app #screen-offers.active {
  display: flex !important;
  flex-direction: column !important;
  overflow: hidden !important;
  min-height: 0 !important;
}

#screen-offers.active > .flow-hero {
  flex: 0 0 auto;
}

/* Match other in-room flow heroes (spa/tours/messages), not the short tab strip. */
#screen-offers.active > .flow-hero .flow-hero-img {
  height: clamp(168px, 26dvh, 220px);
}

/* Telegram in-room tabs: Offers / Activity / Chat / Info share one fixed hero.
   Home is excluded. Fixed px so keyboard / dvh cannot resize it. */
html[data-surface="telegram"] #screen-offers > .flow-hero,
html[data-surface="telegram"] #screen-activity > .flow-hero,
html[data-surface="telegram"] #screen-messages > .flow-hero,
html[data-surface="telegram"] #screen-info > .flow-hero,
body.tg-app #screen-offers > .flow-hero,
body.tg-app #screen-activity > .flow-hero,
body.tg-app #screen-messages > .flow-hero,
body.tg-app #screen-info > .flow-hero {
  flex: 0 0 168px !important;
  height: 168px !important;
  min-height: 168px !important;
  max-height: 168px !important;
}

html[data-surface="telegram"] #screen-offers > .flow-hero .flow-hero-img,
html[data-surface="telegram"] #screen-activity > .flow-hero .flow-hero-img,
html[data-surface="telegram"] #screen-messages > .flow-hero .flow-hero-img,
html[data-surface="telegram"] #screen-info > .flow-hero .flow-hero-img,
body.tg-app #screen-offers > .flow-hero .flow-hero-img,
body.tg-app #screen-activity > .flow-hero .flow-hero-img,
body.tg-app #screen-messages > .flow-hero .flow-hero-img,
body.tg-app #screen-info > .flow-hero .flow-hero-img {
  height: 168px !important;
  min-height: 168px !important;
  max-height: 168px !important;
}

#screen-offers.active .flow-hero-content .card-hero-title {
  font-size: clamp(1.35rem, 4.2vw, 1.7rem);
  line-height: 1.1;
}

#screen-offers.active .flow-hero-content .card-hero-sub {
  font-size: 0.72rem;
  line-height: 1.3;
  letter-spacing: 0.04em;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

#screen-offers .offers-home {
  flex: 1 1 0;
  min-height: 0;
  padding: 10px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  overflow: hidden;
}

#screen-offers .offers-status {
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  line-height: 1.3;
  border: 1px solid rgba(184, 146, 74, 0.28);
  background: transparent;
  text-align: center;
  flex-shrink: 0;
}

#screen-offers .offers-status.is-eligible {
  color: var(--apsara-primary, #B8924A);
  border-color: rgba(184, 146, 74, 0.55);
  background: rgba(184, 146, 74, 0.12);
}

#screen-offers .offers-status.is-locked {
  color: var(--lotus-text-muted, rgba(255, 255, 255, 0.72));
  border-color: rgba(255, 255, 255, 0.14);
}

#screen-offers .offers-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  gap: 10px;
  width: 100%;
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
  align-content: stretch;
  align-items: stretch;
}

#screen-offers .offers-grid .card-sm {
  position: relative;
  flex: none;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  height: 100%;
  aspect-ratio: auto;
  overflow: hidden;
}

#screen-offers .offers-grid .card-sm picture {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

#screen-offers .offers-grid .card-sm-img {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
}

#screen-offers .offers-grid .card-sm-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
}

#screen-offers .offers-grid .card-sm-body {
  z-index: 2;
}

#screen-offers .offers-grid .card-sm-sub {
  display: none;
}

/* Telegram in-room: fill leftover viewport under the cards — header size unchanged. */
html[data-surface="telegram"] #screen-offers .offers-home,
body.tg-app #screen-offers .offers-home {
  padding: 8px 12px 12px;
}

html[data-surface="telegram"] #screen-offers .offers-grid,
body.tg-app #screen-offers .offers-grid {
  grid-template-rows: repeat(2, minmax(0, 1fr));
  align-content: stretch;
  align-items: stretch;
  gap: 8px;
  flex: 1 1 0;
  min-height: 0;
  height: 100%;
}

html[data-surface="telegram"] #screen-offers .offers-grid .card-sm,
body.tg-app #screen-offers .offers-grid .card-sm {
  aspect-ratio: auto;
  height: 100%;
  width: 100%;
  min-height: 0;
}

/* In-room: no grey boxed panels — gold outline / separators */
.catalog-screen .appointment-panel,
.catalog-screen .cv-appointment-panel {
  background: transparent !important;
  border: 1px solid rgba(184, 146, 74, 0.28) !important;
}

.catalog-screen .appointment-panel input,
.catalog-screen .appointment-panel select,
.catalog-screen .cv-appointment-panel input,
.catalog-screen .cv-appointment-panel select {
  background: transparent !important;
  border: 1px solid rgba(184, 146, 74, 0.35) !important;
  border-radius: 999px !important;
}

body.shell-app #screen-messages .msg-bubble.msg-staff,
body.shell-app #screen-messages .msg-bubble.msg-concierge:not(.msg-status),
body.shell-app #screen-room-issues .msg-bubble.msg-staff,
body.shell-app #screen-room-issues .msg-bubble.msg-concierge:not(.msg-status) {
  background: transparent;
  border-color: rgba(184, 146, 74, 0.28);
}

/* Room Issues uses the same chat chrome as My Chat, without bottom nav */
body.shell-app #screen-room-issues.active {
  display: flex !important;
  flex-direction: column;
  min-height: 0;
  overflow: hidden;
}

body.shell-app #screen-room-issues .messages-body {
  flex: 1 1 0;
  min-height: 0;
}

body.shell-app #screen-room-issues .messages-footer {
  flex-shrink: 0;
  margin-bottom: 0 !important;
}

/* In-room splash — hotel / business name under product */
.prearrival-splash-hotel {
  margin-top: 10px;
  font-family: Outfit, var(--lotus-font-body), 'Kantumruy Pro', sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.25;
  animation: prearrivalSplashFade 0.7s 0.18s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.prearrival-splash .prearrival-splash-tag {
  margin-top: 12px;
}

body.shell-app #screen-room-issues .messages-compose input {
  flex: 1;
}

/* Home cards: drop gold secondary lines; enlarge white titles (web + Telegram) */
html.platform-web .card-sm-sub,
html.platform-web .card-hero-sub,
html[data-surface="web"] .card-sm-sub,
html[data-surface="web"] .card-hero-sub,
html[data-surface="telegram"] .card-sm-sub,
html[data-surface="telegram"] .card-hero-sub,
body.tg-app .card-sm-sub,
body.tg-app .card-hero-sub {
  display: none !important;
}

html.platform-web #screen-hub.has-bottom-nav .card-sm-title,
html[data-surface="web"] #screen-hub.has-bottom-nav .card-sm-title,
html[data-surface="telegram"] #screen-hub.has-bottom-nav .card-sm-title,
body.tg-app #screen-hub.has-bottom-nav .card-sm-title {
  font-size: clamp(15px, calc(var(--hub-w) * 0.044), 18px);
  line-height: 1.2;
}

html.platform-web #screen-hub.has-bottom-nav .card-hero-title,
html[data-surface="web"] #screen-hub.has-bottom-nav .card-hero-title,
html[data-surface="telegram"] #screen-hub.has-bottom-nav .card-hero-title,
body.tg-app #screen-hub.has-bottom-nav .card-hero-title {
  font-size: clamp(21px, calc(var(--hub-w) * 0.066), 30px);
}

html.platform-web #screen-offers .offers-grid .card-sm-title,
html[data-surface="web"] #screen-offers .offers-grid .card-sm-title,
html[data-surface="telegram"] #screen-offers .offers-grid .card-sm-title,
body.tg-app #screen-offers .offers-grid .card-sm-title {
  font-size: 15px;
}

/* In-room web: Lotus Concierge lockup — matches lotusconcierge.co .brand-lockup */
html.platform-web #screen-hub .hub-header .hub-brand.lc-lockup,
html.platform-web #screen-hub.has-bottom-nav .hub-header .hub-brand.lc-lockup,
html[data-surface="web"] #screen-hub .hub-header .hub-brand.lc-lockup,
html[data-surface="web"] #screen-hub.has-bottom-nav .hub-header .hub-brand.lc-lockup {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: max-content;
  height: auto !important;
  white-space: nowrap;
  font-family: Outfit, var(--lotus-font-body), 'Kantumruy Pro', sans-serif !important;
  font-weight: 700 !important;
  font-size: clamp(22.5px, calc(var(--hub-w) * 0.069), 27.5px) !important;
  letter-spacing: -0.03em !important;
  line-height: 1.25;
  color: #fff;
}

html.platform-web #screen-hub .hub-header .lc-lockup-mark,
html[data-surface="web"] #screen-hub .hub-header .lc-lockup-mark {
  width: clamp(28px, calc(var(--hub-w) * 0.08), 36px);
  height: clamp(28px, calc(var(--hub-w) * 0.08), 36px);
  flex-shrink: 0;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 1px 8px rgba(0, 0, 0, 0.55));
}

html.platform-web #screen-hub .hub-header .lc-lockup-text,
html[data-surface="web"] #screen-hub .hub-header .lc-lockup-text {
  display: inline-flex;
  align-items: baseline;
  gap: 0.28em;
}

html.platform-web #screen-hub .hub-header .lc-lockup-lotus,
html.platform-web #screen-hub .hub-header .lc-lockup-product,
html[data-surface="web"] #screen-hub .hub-header .lc-lockup-lotus,
html[data-surface="web"] #screen-hub .hub-header .lc-lockup-product {
  font: inherit;
  font-weight: inherit;
  letter-spacing: inherit;
  color: inherit;
}

.hotel-offer-popup {
  position: fixed;
  inset: 0;
  z-index: 122;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 16px calc(20px + env(safe-area-inset-bottom, 0px));
}

.hotel-offer-popup[hidden] {
  display: none !important;
}

.hotel-offer-popup-backdrop {
  position: absolute;
  inset: 0;
  border: none;
  margin: 0;
  padding: 0;
  background: rgba(0, 0, 0, 0.62);
  cursor: pointer;
}

.hotel-offer-popup-panel {
  position: relative;
  width: min(100%, 360px);
  padding: 22px 20px 18px;
  border-radius: 18px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
}

.hotel-offer-popup-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  cursor: pointer;
}

.hotel-offer-popup-kicker {
  margin: 0 28px 8px 0;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.hotel-offer-popup-copy {
  margin: 0 0 16px;
  font-size: 0.95rem;
  line-height: 1.45;
  white-space: pre-wrap;
}

.hotel-offer-popup-panel .btn-primary {
  width: 100%;
}
