/*
 * This is a manifest file that'll be compiled into application.css.
 *
 * With Propshaft, assets are served efficiently without preprocessing steps. You can still include
 * application-wide styles in this file, but keep in mind that CSS precedence will follow the standard
 * cascading order, meaning styles declared later in the document or manifest will override earlier ones,
 * depending on specificity.
 *
 * Consider organizing styles into separate files for maintainability.
 */

:root {
  --bg: #f4f1ea;
  --panel: #fffdf9;
  --panel-strong: #efe5d6;
  --ink: #182027;
  --muted: #5d6872;
  --line: #d7c8b5;
  --accent: #0e6b61;
  --accent-strong: #094b44;
  --danger: #9b2c2c;
  --shadow: 0 18px 44px rgba(24, 32, 39, 0.08);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: #f7f4ed;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

form.button_to {
  margin: 0;
}

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

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.demo-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 32px 0 56px;
}

.demo-shell-home {
  width: min(1240px, calc(100% - 32px));
}

.auth-shell {
  width: min(1240px, calc(100% - 32px));
  margin: 0 auto;
  min-height: 100vh;
  display: grid;
  align-items: center;
  padding: 32px 0;
}

.app-bar {
  background: #fffdfa;
  border-bottom: 1px solid rgba(215, 200, 181, 0.9);
  box-shadow: 0 8px 18px rgba(24, 32, 39, 0.03);
}

.app-bar-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.app-bar-branding,
.app-bar-nav,
.app-bar-actions-booking {
  display: flex;
  align-items: center;
}

.app-bar-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.app-bar-brand strong {
  font-size: 22px;
  letter-spacing: 0.02em;
  color: #9b6b22;
}

.app-bar-nav {
  flex: 1;
  justify-content: center;
  gap: 8px;
}

.app-bar-actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

.tab-link {
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 600;
}

.tab-link.is-active {
  background: #f1e4cf;
  color: #9b6b22;
}

.app-bar-meta {
  display: block;
  color: var(--muted);
  font-size: 14px;
  margin-top: 2px;
}

.hero,
.panel,
.city-card,
.hotel-card,
.flash {
  border: 1px solid rgba(215, 200, 181, 0.9);
  border-radius: 16px;
  background: #fffdfa;
  box-shadow: none;
}

.hero {
  display: grid;
  gap: 24px;
  grid-template-columns: 1.4fr 1fr;
  padding: 28px;
  margin-bottom: 28px;
}

.hero.compact,
.hero.success {
  grid-template-columns: 1fr;
}

.hero-homepage {
  gap: 28px;
  padding: 36px;
  background:
    linear-gradient(180deg, rgba(255, 253, 250, 0.98), rgba(249, 244, 236, 0.98)),
    radial-gradient(circle at top right, rgba(47, 95, 90, 0.12), transparent 28%);
}

.hero-homepage-copy {
  max-width: 680px;
}

.hero-homepage-banner {
  position: relative;
  overflow: visible;
  min-height: 640px;
  padding: 0;
  border-radius: 24px;
  background: #d9cdbb;
}

.hero-homepage-backdrop {
  position: absolute;
  inset: 0;
  overflow: hidden;
  border-radius: 24px;
}

.hero-homepage-banner-image {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  display: block;
}

.hero-homepage-banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(16, 24, 32, 0.72) 0%, rgba(16, 24, 32, 0.4) 38%, rgba(16, 24, 32, 0.12) 100%),
    linear-gradient(180deg, rgba(16, 24, 32, 0.08) 0%, rgba(16, 24, 32, 0.48) 100%);
}

.hero-homepage-banner-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: space-between;
  min-height: 640px;
  padding: 56px;
}

.hero-homepage-banner-content::after {
  content: "";
  position: absolute;
  left: 56px;
  right: 56px;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.26), rgba(255, 255, 255, 0.04));
}

.hero-homepage-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.hero-homepage-eyebrow {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.hero-homepage-copy h1,
.hero-homepage-copy .hero-copy {
  color: #fff;
}

.hero-homepage-copy .hero-copy {
  max-width: 620px;
  font-size: 17px;
  line-height: 1.7;
}

.hero-homepage-summary span {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 13px;
  backdrop-filter: blur(6px);
}

.hero-homepage-visual {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(260px, 0.75fr);
  gap: 18px;
  margin-bottom: 28px;
}

.auth-hero {
  align-items: center;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  font-size: clamp(32px, 6vw, 54px);
  line-height: 1;
  margin-bottom: 12px;
}

h2 {
  font-size: 26px;
}

.hero-copy,
.muted {
  color: var(--muted);
}

.search-panel,
.stack-form {
  display: grid;
  gap: 14px;
}

.home-search-panel {
  align-content: start;
  padding: 22px;
  border: 1px solid rgba(215, 200, 181, 0.9);
  border-radius: 20px;
  background: #fff;
}

.home-search-panel-floating {
  margin-top: auto;
  gap: 18px;
  box-shadow: 0 20px 44px rgba(24, 32, 39, 0.16);
  max-width: 860px;
}

.home-search-panel-tabs {
  display: inline-flex;
  align-items: center;
  gap: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(215, 200, 181, 0.85);
  font-size: 14px;
  font-weight: 600;
}

.home-search-panel-tabs span {
  color: var(--muted);
}

.home-search-panel-tabs .is-active {
  color: var(--ink);
}

.home-search-panel-fields {
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) repeat(2, minmax(180px, 1fr));
  gap: 14px;
  align-items: end;
}

.home-search-panel-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  color: var(--muted);
  font-size: 13px;
}

.home-search-submit {
  min-width: 160px;
}

.search-panel-field > span {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}

label span {
  display: block;
  font-size: 14px;
  margin-bottom: 6px;
  color: var(--muted);
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  min-height: 64px;
  padding: 12px 14px;
  font: inherit;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  padding: 12px 18px;
  font-weight: 600;
  border: 1px solid transparent;
}

.button-small {
  padding: 8px 14px;
  font-size: 14px;
}

.button-primary {
  background: #c98f34;
  color: #fff;
}

.button-primary:hover {
  background: #b57a20;
}

.button-danger {
  background: #fffdfa;
  border-color: rgba(155, 44, 44, 0.25);
  color: var(--danger);
}

.button-secondary {
  background: #fffdfa;
  border-color: var(--line);
}

.section-header,
.breadcrumbs {
  margin-bottom: 18px;
}

.section-header-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.breadcrumbs {
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--muted);
}

.city-grid,
.card-list,
.detail-grid {
  display: grid;
  gap: 18px;
}

.city-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.city-card,
.panel {
  padding: 22px;
}

.city-card-list {
  margin: 18px 0 22px;
}

.current-city-panel {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin-bottom: 22px;
  background:
    radial-gradient(circle at right top, rgba(14, 107, 97, 0.12), transparent 26%),
    linear-gradient(135deg, rgba(14, 107, 97, 0.08), rgba(255, 253, 249, 0.96));
}

.current-city-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.city-picker {
  position: relative;
  z-index: 40;
}

.city-picker summary {
  list-style: none;
  cursor: pointer;
}

.city-picker-inline {
  width: 100%;
}

.city-picker-input {
  display: flex;
  flex-direction: column;
  gap: 2px;
  width: 100%;
  min-height: 64px;
  justify-content: center;
  padding: 12px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
}

.city-picker-input strong {
  font-size: 16px;
}

.city-picker-input small {
  color: var(--muted);
  font-size: 13px;
}

.city-picker summary::-webkit-details-marker {
  display: none;
}

.city-picker-inline[open] .city-picker-input {
  border-color: #d7c8b5;
  box-shadow: none;
}

.city-picker[open] .city-picker-trigger {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.city-picker-panel {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  right: auto;
  z-index: 3000;
  width: min(920px, calc(100vw - 40px));
  max-height: min(70vh, 720px);
  overflow: auto;
  padding: 22px;
  border: 1px solid rgba(215, 200, 181, 0.95);
  border-radius: 14px;
  background: #fffdfa;
  box-shadow: 0 28px 56px rgba(24, 32, 39, 0.22);
}

.city-picker-inline .city-picker-panel {
  left: 0;
  right: auto;
}

.city-picker-header {
  margin-bottom: 18px;
}

.city-picker-section + .city-picker-section {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(215, 200, 181, 0.75);
}

.city-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.city-chip {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid rgba(215, 200, 181, 0.95);
  color: var(--ink);
  font-weight: 600;
}

.city-chip.is-active {
  background: #ece7dd;
  border-color: #d7c8b5;
  color: var(--ink);
}

.city-directory {
  display: grid;
  gap: 18px;
}

.city-directory-compact {
  max-height: 420px;
}

.city-directory-group {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}

.city-directory-initial {
  display: grid;
  place-items: center;
  min-height: 56px;
  border-radius: 10px;
  background: #f4efe6;
  color: var(--muted);
  font-size: 20px;
  font-weight: 600;
}

.city-directory-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.city-directory-link {
  display: inline-flex;
  flex-direction: column;
  gap: 4px;
  min-width: 112px;
  padding: 12px 14px;
  border-radius: 10px;
  background: #fff;
  border: 1px solid rgba(215, 200, 181, 0.9);
}

.city-directory-link span {
  color: var(--muted);
  font-size: 12px;
}

.city-directory-link.is-active {
  border-color: #d7c8b5;
  background: #f4efe6;
}

.auth-panel {
  width: min(420px, 100%);
  justify-self: end;
}

.auth-login-hero {
  position: relative;
  grid-template-columns: minmax(0, 1.1fr) minmax(360px, 420px);
  min-height: 720px;
  padding: 0;
  overflow: hidden;
  border-radius: 28px;
  background:
    radial-gradient(circle at left top, rgba(210, 162, 86, 0.24), transparent 26%),
    linear-gradient(135deg, #fff5e8 0%, #f4e6d2 42%, #ead7bc 100%);
  box-shadow: 0 28px 80px rgba(24, 32, 39, 0.12);
}

.auth-login-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.52) 0%, rgba(255, 255, 255, 0.08) 48%, rgba(255, 255, 255, 0) 100%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='960' height='720' viewBox='0 0 960 720'%3E%3Cg fill='none' stroke='rgba(155,107,34,0.10)' stroke-width='1'%3E%3Cpath d='M90 520C220 390 345 366 485 414s236 35 350-72'/%3E%3Cpath d='M66 578C188 474 322 458 452 503s237 44 370-49'/%3E%3Cpath d='M122 256C264 176 412 160 548 210s215 48 300-8'/%3E%3C/g%3E%3C/svg%3E") center/cover no-repeat;
  pointer-events: none;
}

.auth-login-copy,
.auth-login-panel {
  position: relative;
  z-index: 1;
}

.auth-login-copy {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 64px;
}

.auth-login-kicker {
  margin-bottom: 0;
  color: #9b6b22;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.auth-login-copy h1 {
  max-width: 520px;
  margin-bottom: 0;
  font-size: clamp(40px, 5vw, 58px);
  line-height: 1.05;
}

.auth-login-lead {
  max-width: 540px;
  margin-bottom: 0;
  color: #6d5b4a;
  font-size: 17px;
  line-height: 1.8;
}

.auth-login-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.auth-login-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(215, 200, 181, 0.95);
  color: #6d5b4a;
  font-size: 13px;
}

.auth-login-showcase {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 220px));
  gap: 14px;
}

.auth-login-showcase-card {
  display: grid;
  gap: 8px;
  min-height: 124px;
  padding: 20px;
  border-radius: 20px;
  background: rgba(255, 253, 250, 0.82);
  border: 1px solid rgba(215, 200, 181, 0.95);
  backdrop-filter: blur(8px);
}

.auth-login-showcase-card strong {
  color: #9b6b22;
  font-size: 18px;
}

.auth-login-showcase-card span {
  color: #6d5b4a;
  line-height: 1.7;
  font-size: 14px;
}

.auth-login-panel {
  align-self: stretch;
  width: 100%;
}

.auth-login-panel {
  display: grid;
  align-content: center;
  gap: 24px;
  padding: 44px 38px;
  border: 0;
  border-left: 1px solid rgba(215, 200, 181, 0.9);
  border-radius: 0;
  background: rgba(255, 253, 250, 0.92);
  box-shadow: none;
}

.auth-login-panel-header {
  display: grid;
  gap: 8px;
}

.auth-login-panel-tag {
  margin-bottom: 0;
  color: #9b6b22;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.auth-login-panel-header h2 {
  margin-bottom: 0;
  font-size: 32px;
}

.auth-login-panel .stack-form {
  gap: 16px;
}

.auth-login-panel .button-primary {
  min-height: 52px;
  font-size: 16px;
}

.auth-login-panel-footer {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.city-card-top {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

.home-hotel-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.home-hotel-card-link {
  display: block;
}

.home-hotel-card {
  overflow: hidden;
  border: 1px solid rgba(215, 200, 181, 0.9);
  border-radius: 16px;
  background: #fffdfa;
  box-shadow: none;
}

.home-hotel-card:hover {
  border-color: rgba(47, 95, 90, 0.28);
}

.home-hotel-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

.home-hotel-image-placeholder {
  display: grid;
  place-items: end start;
  padding: 18px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 700;
  background: #f2eee6;
}

.home-hotel-card-body {
  display: grid;
  gap: 16px;
  padding: 20px;
}

.home-hotel-header {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: start;
}

.home-hotel-header h3 {
  margin-bottom: 0;
  font-size: 24px;
  line-height: 1.15;
}

.home-hotel-score {
  min-width: 48px;
  text-align: right;
}

.home-hotel-score strong {
  display: block;
  font-size: 18px;
  line-height: 1;
}

.home-hotel-score span,
.home-hotel-meta {
  color: var(--muted);
  font-size: 13px;
}

.home-hotel-meta {
  display: -webkit-box;
  overflow: hidden;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-height: 1.5;
  min-height: calc(1.5em * 2);
}

.home-hotel-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.home-hotel-bottom {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
  align-items: end;
}

.home-hotel-link-text {
  color: #2f5f5a;
  font-size: 14px;
  font-weight: 600;
}

.hero-homepage-main-visual,
.hero-homepage-side-card {
  overflow: hidden;
  border: 1px solid rgba(215, 200, 181, 0.9);
  border-radius: 16px;
  background: #fffdfa;
}

.hero-homepage-main-visual {
  box-shadow: 0 16px 32px rgba(24, 32, 39, 0.06);
}

.hero-homepage-main-image {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  background: #f2eee6;
}

.hero-homepage-image-fallback {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 28px;
  font-weight: 600;
}

.hero-homepage-main-copy {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.hero-homepage-main-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-homepage-kicker {
  margin-bottom: 8px;
  color: #2f5f5a;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hero-homepage-main-copy h2 {
  margin-bottom: 0;
  font-size: 28px;
}

.hero-homepage-side-visual {
  display: grid;
  gap: 18px;
}

.hero-homepage-side-card-link {
  display: block;
}

.hero-homepage-side-image {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
  background: #f2eee6;
}

.hero-homepage-side-copy {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.hero-homepage-side-copy strong {
  font-size: 16px;
}

.hero-homepage-side-copy span {
  color: var(--muted);
  font-size: 13px;
}

.hero-homepage-side-card-fallback {
  display: grid;
  align-items: center;
}

.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  padding: 0;
  overflow: hidden;
  margin-bottom: 28px;
}

.home-shortcut {
  display: grid;
  gap: 8px;
  padding: 22px 24px;
  background: #fffdfa;
}

.home-shortcut + .home-shortcut {
  border-left: 1px solid rgba(215, 200, 181, 0.9);
}

.home-shortcut strong {
  font-size: 16px;
  color: #9b6b22;
}

.home-shortcut span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.home-destination-strip {
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  gap: 24px;
  margin-bottom: 28px;
  padding: 28px;
  border-radius: 20px;
}

.home-destination-strip-copy {
  align-self: center;
}

.home-destination-strip-copy h2 {
  margin-bottom: 10px;
}

.home-destination-strip-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.home-destination-card {
  overflow: hidden;
  border-radius: 16px;
  border: 1px solid rgba(215, 200, 181, 0.9);
  background: #fff;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.home-destination-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(24, 32, 39, 0.08);
}

.home-destination-card-image {
  display: block;
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: #f2eee6;
}

.home-destination-card-image-fallback {
  display: grid;
  place-items: center;
  color: var(--muted);
  font-size: 24px;
  font-weight: 700;
}

.home-destination-card-copy {
  display: grid;
  gap: 4px;
  padding: 16px;
}

.home-destination-card-copy span {
  color: var(--muted);
  font-size: 13px;
}

.hotel-list-filter {
  display: grid;
  gap: 10px;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.hotel-list-filter-title h1 {
  margin-bottom: 0;
  font-size: 22px;
}

.hotel-list-filter-form {
  display: grid;
  grid-template-columns: minmax(180px, 1.5fr) repeat(2, minmax(130px, 1fr)) 100px;
  gap: 10px;
  align-items: end;
}

.hotel-list-filter-form label {
  min-width: 0;
}

.hotel-list-filter-submit {
  width: 100%;
}

.hotel-card {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 22px;
}

.hotel-filter-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(215, 200, 181, 0.9);
  color: var(--muted);
  font-size: 14px;
}

.hotel-list-stack {
  display: grid;
  gap: 14px;
}

.hotel-showcase-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 180px;
  gap: 0;
  min-height: 188px;
  overflow: hidden;
  border: 1px solid rgba(215, 200, 181, 0.9);
  border-radius: 14px;
  background: #fffdfa;
  box-shadow: none;
}

.hotel-showcase-main-link {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  min-height: 100%;
  color: inherit;
}

.hotel-showcase-media {
  min-height: 100%;
  background: #f2eee6;
}

.hotel-showcase-image,
.hotel-showcase-placeholder {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 180px;
}

.hotel-showcase-image {
  object-fit: cover;
  background: #f2eee6;
}

.hotel-showcase-placeholder {
  display: grid;
  place-items: end start;
  padding: 18px;
  color: var(--muted);
  font-size: 22px;
  font-weight: 700;
  background: #f2eee6;
}

.hotel-showcase-body {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 18px 20px;
  padding-right: 92px;
}

.hotel-showcase-topline {
  position: absolute;
  top: 18px;
  right: 20px;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  align-items: start;
  margin-bottom: 0;
}

.hotel-badge {
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  border-radius: 999px;
  background: #f4efe6;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}

.hotel-badge-brand {
  background: #ece7dd;
  color: var(--ink);
}

.hotel-score-pill {
  min-width: 44px;
  text-align: right;
  background: transparent;
}

.hotel-score-pill strong {
  display: block;
  font-size: 16px;
  line-height: 1;
}

.hotel-score-pill span {
  color: var(--muted);
  font-size: 11px;
}

.hotel-showcase-title {
  margin-top: 0;
  margin-bottom: 6px;
  font-size: clamp(20px, 2.4vw, 26px);
  line-height: 1.18;
}

.hotel-showcase-location {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.hotel-showcase-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: auto;
}

.hotel-showcase-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f4efe6;
  color: var(--ink);
  font-size: 12px;
}

.hotel-price-block strong {
  display: block;
}

.hotel-showcase-side {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: 100%;
  padding: 20px 18px;
  border-left: 1px solid rgba(215, 200, 181, 0.9);
  background: #faf6ef;
}

.hotel-price-block {
  display: grid;
  gap: 4px;
  text-align: right;
}

.hotel-price-block strong {
  font-size: 24px;
  line-height: 1;
}

.hotel-price-block span {
  color: var(--muted);
  font-size: 12px;
}

.hotel-cta {
  width: 100%;
}

.hotel-empty-state {
  text-align: center;
}

.hotel-list-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 18px 20px;
}

.hotel-list-pagination-summary {
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}

.hotel-list-pagination-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.hotel-pagination-button {
  min-width: 88px;
}

.hotel-pagination-button-disabled {
  background: #f2eee6;
  border-color: var(--line);
  color: var(--muted);
  cursor: not-allowed;
}

.order-card {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: #fff;
}

.order-card-main {
  flex: 1;
}

.order-card-side,
.order-card-tags {
  display: grid;
  gap: 10px;
  align-content: start;
}

.qr-panel {
  text-align: center;
}

.qr-box {
  width: fit-content;
  margin: 0 auto 18px;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  border: 1px solid var(--line);
}

.qr-box svg {
  display: block;
  width: min(280px, 100%);
  height: auto;
}

.hotel-card-body {
  flex: 1;
}

.hotel-card-meta,
.room-card-side,
.action-panel {
  display: grid;
  gap: 12px;
  align-content: start;
}

/* Detail page — BTH-inspired compact layout */

.detail-header {
  margin-bottom: 16px;
}

.detail-header-info {
  display: grid;
  gap: 8px;
}

.detail-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
}

.detail-title-row h1 {
  margin-bottom: 2px;
  font-size: clamp(18px, 2.5vw, 24px);
  line-height: 1.3;
}

.detail-score {
  font-size: 32px;
  font-weight: 800;
  color: #c0191f;
  line-height: 1;
  white-space: nowrap;
  padding-top: 4px;
}

.detail-address {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.detail-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: #f4efe6;
  color: var(--ink);
  font-size: 12px;
  font-weight: 500;
}

.detail-tag-score {
  background: rgba(14, 107, 97, 0.1);
  color: var(--accent);
  font-weight: 600;
}

.detail-highlights {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 4px;
}

.detail-highlights span {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(14, 107, 97, 0.08);
  border: 1px solid rgba(14, 107, 97, 0.16);
  color: var(--accent);
  font-size: 12px;
  font-weight: 500;
}

.detail-gallery-wrap {
  margin-bottom: 16px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(215, 200, 181, 0.9);
  background: #f2eee6;
}

.detail-gallery {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(240px, 0.95fr);
  gap: 8px;
  padding: 8px;
  background: #f2eee6;
}

.detail-gallery a {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: #e5ded3;
}

.detail-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.detail-gallery-main {
  min-height: 340px;
}

.detail-gallery-main img {
  min-height: 340px;
}

.detail-gallery-side {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.detail-gallery-thumb {
  min-height: 166px;
}

.detail-gallery-more {
  position: absolute;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 54px;
  padding: 4px 10px;
  border-radius: 999px;
  background: rgba(33, 29, 24, 0.72);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
}

.detail-gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 32px;
  background: rgba(14, 16, 19, 0.92);
}

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

.detail-gallery-lightbox-stage {
  display: grid;
  gap: 12px;
  justify-items: center;
}

.detail-gallery-lightbox-stage img {
  display: block;
  width: auto;
  max-width: min(1200px, 100%);
  max-height: calc(100vh - 120px);
  border-radius: 14px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}

.detail-gallery-lightbox-meta {
  color: #fff;
  font-size: 14px;
  font-weight: 600;
}

.detail-gallery-lightbox-nav,
.detail-gallery-lightbox-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
  cursor: pointer;
}

.detail-gallery-lightbox-nav {
  width: 52px;
  height: 52px;
  font-size: 34px;
}

.detail-gallery-lightbox-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  font-size: 28px;
}

body.is-gallery-open {
  overflow: hidden;
}

.detail-desc {
  margin-bottom: 16px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.detail-rooms-panel h2,
.detail-rooms-panel h3 {
  margin-bottom: 0;
  font-size: 16px;
}

.room-card {
  display: flex;
  align-items: flex-start;
  gap: 0 14px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.room-card-img {
  flex-shrink: 0;
  width: 120px;
  height: 80px;
  border-radius: 5px;
  overflow: hidden;
  cursor: pointer;
}

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

.room-card-info {
  flex: 0 0 180px;
  min-width: 0;
  max-width: 180px;
  display: grid;
  gap: 6px;
  align-content: start;
}

.room-card-info h3 {
  margin-bottom: 0;
  font-size: 15px;
  line-height: 1.3;
}

.room-attrs {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px 0;
}

.room-attrs span {
  padding: 2px 8px;
  border-radius: 4px;
  background: #f4efe6;
  color: var(--ink);
  font-size: 11px;
  line-height: 1.5;
}

.room-card-side {
  flex: 1 1 auto;
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  margin-left: auto;
  padding-left: 18px;
  padding-right: 0;
  box-sizing: border-box;
}

.room-rate-row {
  display: flex;
  align-items: center;
  gap: 0 8px;
  font-size: 13px;
  line-height: 1.6;
}

.room-rate-date {
  color: var(--muted, #999);
  min-width: 30px;
  font-size: 12px;
}

.room-rate-price {
  font-weight: 600;
  color: #c0191f;
  min-width: 64px;
}

.room-status {
  font-size: 11px;
  padding: 1px 6px;
  border-radius: 3px;
  white-space: nowrap;
}

.room-status-soldout {
  color: #999;
  background: #f0f0f0;
}

.room-status-urgent {
  color: #c0191f;
  background: #fef0f0;
}

.room-status-limited {
  color: #e67e22;
  background: #fef6ec;
}

.room-status-ok {
  color: var(--accent);
  background: rgba(14, 107, 97, 0.08);
}

.room-rate-total {
  display: flex;
  align-items: baseline;
  gap: 0 6px;
  padding-top: 4px;
  border-top: 1px solid var(--line, #e8e0d4);
  margin-top: 2px;
}

.room-rate-total strong {
  font-size: 16px;
  color: #c0191f;
}

.room-rate-total .muted {
  font-size: 12px;
}

.room-offers {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.room-offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0 12px;
  align-items: center;
  padding: 10px 12px;
  border: 1px solid rgba(215, 200, 181, 0.9);
  border-radius: 10px;
  background: #faf6ef;
  min-height: 90px;
  box-sizing: border-box;
  margin-bottom: 8px;
}

.room-offer-card:last-child {
  margin-bottom: 0;
}

.room-offer-main {
  display: grid;
  gap: 0 6px;
}

.room-offer-meta {
  display: flex;
  gap: 0 10px;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: 11px;
}

.room-offer-title-row {
  display: flex;
  align-items: center;
  gap: 0 12px;
  justify-content: space-between;
}

.room-offer-name-group {
  display: flex;
  align-items: center;
  gap: 0 8px;
  flex-wrap: wrap;
}

.offer-price-label {
  font-weight: 700;
  color: #c0191f;
  font-size: 13px;
}

.room-offer-title-row strong {
  font-size: 14px;
}

.room-offer-total {
  color: #c0191f;
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.room-offer-dates {
  display: flex;
  flex-wrap: wrap;
  gap: 0 6px;
}

.room-offer-dates span {
  padding: 3px 8px;
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 11px;
}

.room-offer-note {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.5;
}

.room-offer-side {
  display: flex;
  flex-direction: column;
  gap: 6px 0;
  align-items: flex-end;
  justify-content: center;
  min-width: 132px;
}

.room-offer-booking {
  display: flex;
  align-items: center;
  gap: 0 5px;
  flex-wrap: nowrap;
  justify-content: flex-end;
  width: auto;
  max-width: 100%;
}

.room-count-picker {
  display: inline-flex;
  align-items: center;
  gap: 0 6px;
  white-space: nowrap;
}

.room-count-picker span {
  color: var(--muted);
  font-size: 10px;
  line-height: 1;
}

.room-count-picker select {
  min-width: 58px;
  padding: 2px 4px;
  height: 24px;
  font-size: 12px;
}

.room-offer-side .room-status {
  align-self: flex-end;
}

.room-offer-booking .button-xs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-width: 42px;
  height: 20px;
  padding: 0 7px;
  text-align: center;
}

.room-offer-booking-disabled {
  display: flex;
  align-items: center;
  gap: 6px;
  justify-content: flex-end;
}

.room-count-picker-disabled {
  display: inline-flex;
  align-items: center;
  gap: 0 6px;
  white-space: nowrap;
  color: var(--muted);
  font-size: 11px;
}

.button-disabled,
.button-disabled[disabled] {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #e0e0e0 !important;
  color: #999 !important;
  border-color: #e0e0e0 !important;
  cursor: not-allowed;
  flex-shrink: 0;
  min-width: 42px;
  height: 20px;
  padding: 0 7px;
  font-size: 11px;
  border-radius: 4px;
  line-height: 1;
  text-align: center;
}

.room-hover-popup {
  display: none;
  position: fixed;
  z-index: 100;
  border-radius: 6px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.room-hover-popup img {
  display: block;
  width: 336px;
  height: 225px;
  object-fit: cover;
}

.button-xs {
  font-size: 11px;
  padding: 0 7px;
  border-radius: 4px;
  line-height: 1;
}

.detail-empty-state {
  display: grid;
  gap: 8px;
  padding: 24px 18px;
  border-radius: 12px;
  background: #faf6ef;
}

.detail-empty-state h3 {
  margin: 0;
  font-size: 15px;
}

.facility-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.facility-chip {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 8px;
  background: #f4efe6;
  color: var(--ink);
  font-size: 12px;
}

.info-block + .info-block {
  margin-top: 14px;
}

.info-block h3 {
  margin-bottom: 6px;
  font-size: 14px;
  color: var(--ink);
}

.info-block .plain-list li {
  font-size: 13px;
  line-height: 1.7;
}

.detail-info-text {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}

.detail-room-toolbar {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.detail-room-toolbar h2 {
  margin-bottom: 6px;
}

.detail-date-form {
  display: grid;
  grid-template-columns: repeat(4, auto) 1fr;
  gap: 10px;
  align-items: center;
  padding: 10px 14px;
  border-radius: 12px;
  background: #faf6ef;
  border: 1px solid rgba(215, 200, 181, 0.9);
}

.detail-date-form label {
  display: grid;
  gap: 4px;
}

.detail-date-form label span {
  color: var(--muted);
  font-size: 10px;
}

.detail-date-summary {
  display: grid;
  gap: 2px;
  min-width: 72px;
}

.detail-date-summary strong {
  font-size: 17px;
  line-height: 1;
}

.detail-date-summary span {
  color: var(--muted);
  font-size: 10px;
}

.detail-date-status {
  justify-self: end;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.4;
}

.detail-date-status[data-state="error"] {
  color: var(--danger);
}

.room-stack {
  display: grid;
  gap: 10px;
}

.detail-grid-tight {
  align-items: start;
}

.detail-grid {
  grid-template-columns: 1fr;
}

.order-status-text {
  font-size: 13px;
  text-align: right;
}

.room-status-text {
  font-size: 13px;
  text-align: right;
}

.nearby-hotels-panel {
  margin-top: 16px;
}

.nearby-hotels-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.nearby-hotel-card {
  display: grid;
  gap: 10px;
  color: inherit;
  text-decoration: none;
}

.nearby-hotel-image {
  height: 132px;
  overflow: hidden;
  border-radius: 10px;
  background: #e5ded3;
}

.nearby-hotel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.nearby-hotel-body {
  display: grid;
  gap: 4px;
}

.nearby-hotel-body strong {
  font-size: 13px;
  line-height: 1.5;
}

.nearby-hotel-body span {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
}

.nearby-hotel-meta {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.flash {
  width: min(1120px, calc(100% - 32px));
  margin: 16px auto 0;
  padding: 16px 18px;
}

.flash-alert {
  border-color: rgba(155, 44, 44, 0.25);
  color: var(--danger);
}

.flash-notice {
  border-color: rgba(14, 107, 97, 0.3);
}

.summary-list {
  display: grid;
  gap: 12px;
  margin: 0;
}

.summary-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-bottom: 12px;
  border-bottom: 1px dashed var(--line);
}

.order-create-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(300px, 0.72fr);
  gap: 16px;
  align-items: start;
}

.order-create-main {
  display: grid;
  gap: 16px;
}

.order-create-card h2 {
  margin-bottom: 14px;
}

.order-create-hotel {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 16px;
}

.order-create-hotel-image {
  height: 168px;
  overflow: hidden;
  border-radius: 12px;
  background: #e5ded3;
}

.order-create-hotel-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-create-hotel-info {
  display: grid;
  gap: 10px;
  align-content: start;
}

.order-create-hotel-info h2 {
  margin-bottom: 0;
}

.order-create-hotel-info p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.order-create-label {
  display: inline-flex;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 999px;
  background: rgba(14, 107, 97, 0.08);
  color: var(--accent);
  font-size: 11px;
  font-weight: 600;
}

.order-create-stay {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.order-create-stay div {
  padding: 10px 12px;
  border-radius: 10px;
  background: #faf6ef;
  border: 1px solid rgba(215, 200, 181, 0.9);
}

.order-create-stay strong {
  display: block;
  font-size: 18px;
}

.order-create-stay span {
  color: var(--muted);
  font-size: 12px;
}

.order-create-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.order-create-form {
  gap: 14px;
}

.order-create-submit {
  padding-top: 6px;
}

.order-create-side {
  position: sticky;
  top: 16px;
}

.order-create-summary {
  display: grid;
  gap: 14px;
}

.order-create-summary-top {
  display: grid;
  gap: 6px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.order-create-summary-top p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.order-create-rates {
  display: grid;
  gap: 8px;
  padding-top: 4px;
}

.order-create-rate-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--muted);
  font-size: 13px;
}

.order-create-rate-row strong {
  display: grid;
  gap: 2px;
  justify-items: end;
  color: var(--ink);
  font-size: 14px;
}

.order-create-rate-row em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.order-create-rate-total {
  color: var(--ink);
  font-size: 14px;
}

.order-create-total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.order-create-total span {
  color: var(--muted);
  font-size: 13px;
}

.order-create-total strong {
  color: #c0191f;
  font-size: 28px;
  line-height: 1;
}

.order-create-notes {
  display: grid;
  gap: 8px;
}

.order-create-note-groups {
  display: grid;
  gap: 16px;
}

.order-create-note-block {
  display: grid;
  gap: 8px;
}

.order-create-note-block strong {
  font-size: 13px;
}

.order-create-summary-foot {
  display: grid;
  gap: 10px;
  padding-top: 14px;
  border-top: 1px dashed var(--line);
}

.order-create-summary-foot div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-create-summary-foot span {
  color: var(--muted);
  font-size: 12px;
}

.order-create-summary-foot strong {
  font-size: 13px;
}

.compact-summary div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.plain-list,
.timeline-list {
  margin: 0;
  padding-left: 18px;
}

.plain-list li + li,
.timeline-list li + li {
  margin-top: 10px;
}

@media (max-width: 860px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .auth-panel {
    justify-self: stretch;
  }

  .auth-login-hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .auth-login-copy {
    padding: 40px 28px 12px;
  }

  .auth-login-showcase {
    grid-template-columns: 1fr;
  }

  .auth-login-panel {
    border-left: 0;
    border-top: 1px solid rgba(215, 200, 181, 0.9);
    border-radius: 0 0 28px 28px;
    padding: 28px;
  }

  .hero-homepage {
    grid-template-columns: 1fr;
  }

  .hero-homepage-visual {
    grid-template-columns: 1fr;
  }

  .hero-homepage-banner,
  .hero-homepage-banner-image,
  .hero-homepage-banner-content {
    min-height: auto;
  }

  .hero-homepage-banner-content {
    padding: 28px;
    gap: 20px;
  }

  .home-search-panel-fields {
    grid-template-columns: 1fr;
  }

  .home-destination-strip,
  .home-destination-strip-grid,
  .home-shortcuts {
    grid-template-columns: 1fr;
  }

  .hotel-list-filter-form,
  .hotel-showcase-card {
    grid-template-columns: 1fr;
  }

  .hotel-showcase-main-link {
    grid-template-columns: 1fr;
  }

  .hotel-showcase-body {
    padding-right: 20px;
  }

  .hotel-showcase-topline {
    position: static;
    margin-bottom: 10px;
  }

  .current-city-panel,
  .city-directory-group {
    grid-template-columns: 1fr;
  }

  .city-picker-panel {
    position: fixed;
    top: 96px;
    left: 12px;
    right: 12px;
    width: auto;
    z-index: 4000;
  }

  .hotel-showcase-side {
    border-left: 0;
    border-top: 1px solid rgba(215, 200, 181, 0.9);
  }

  .hotel-price-block {
    text-align: left;
  }

  .hotel-list-pagination {
    flex-direction: column;
    align-items: stretch;
  }

  .hotel-list-pagination-summary {
    align-items: flex-start;
  }

  .hotel-list-pagination-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .hotel-card,
  .room-card,
  .order-card,
  .app-bar-inner {
    flex-direction: column;
    align-items: stretch;
  }

  .room-card-img {
    width: 100%;
    height: 120px;
  }

  .room-card-side {
    min-width: unset;
  }

  .room-hover-popup {
    display: none !important;
  }

  .app-bar-brand,
  .app-bar-nav,
  .app-bar-actions,
  .section-header-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .home-search-panel-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .home-shortcut + .home-shortcut {
    border-left: 0;
    border-top: 1px solid rgba(215, 200, 181, 0.9);
  }

  .home-hotel-bottom,
  .home-hotel-header,
  .current-city-actions,
  .hero-homepage-meta,
  .hero-homepage-summary {
    flex-direction: column;
    align-items: stretch;
  }
}

.summary-list dt {
  color: var(--muted);
}

.summary-list dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.flash {
  margin-bottom: 18px;
  padding: 16px 18px;
}

.flash-error {
  color: var(--danger);
  border-color: rgba(155, 44, 44, 0.25);
  background: rgba(255, 244, 244, 0.92);
}

@media (max-width: 860px) {
  .order-create-layout {
    grid-template-columns: 1fr;
  }

  .order-create-side {
    position: static;
  }

  .order-create-hotel {
    grid-template-columns: 1fr;
  }

  .order-create-form-grid,
  .order-create-stay,
  .detail-date-form {
    grid-template-columns: 1fr;
  }

  .detail-date-status {
    justify-self: start;
  }

  .detail-gallery {
    grid-template-columns: 1fr;
  }

  .detail-gallery-main,
  .detail-gallery-main img {
    min-height: 240px;
  }

  .detail-gallery-thumb {
    min-height: 120px;
  }

  .detail-gallery-lightbox {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 18px 12px 24px;
  }

  .detail-gallery-lightbox-stage img {
    max-height: calc(100vh - 180px);
  }

  .detail-gallery-lightbox-nav {
    position: absolute;
    bottom: 18px;
    width: 44px;
    height: 44px;
    font-size: 28px;
  }

  .detail-gallery-lightbox-prev {
    left: 16px;
  }

  .detail-gallery-lightbox-next {
    right: 16px;
  }

  .room-card-side {
    min-width: 0;
  }

  .room-offer-card {
    grid-template-columns: 1fr;
  }

  .room-offer-side {
    align-items: flex-start;
    min-width: 0;
  }

  .room-offer-booking,
  .room-count-picker {
    justify-content: flex-start;
  }

  .nearby-hotels-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero,
  .hotel-card,
  .room-card {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .demo-shell {
    width: min(100% - 24px, 1120px);
    padding-top: 20px;
  }
}

.profile-grid {
  margin-bottom: 18px;
}

/* === User phone dropdown === */
.user-phone-dropdown {
  position: relative;
}

.user-phone-trigger {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: #f1e4cf;
  color: #9b6b22;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  border: none;
  transition: background 0.15s;
}

.user-phone-trigger:hover {
  background: #e8d4b5;
}

.user-phone-menu {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  background: #fffdfa;
  border: 1px solid rgba(215, 200, 181, 0.9);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(24, 32, 39, 0.12);
  min-width: 120px;
  z-index: 100;
  overflow: hidden;
}

.user-phone-dropdown:hover .user-phone-menu {
  display: block;
}

.dropdown-item {
  display: block;
  padding: 10px 16px;
  color: var(--ink);
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s;
}

.dropdown-item:hover {
  background: #f4efe6;
  color: #9b6b22;
}

/* === Info meta row (hotel info panel) === */
.info-meta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(215, 200, 181, 0.5);
}

.info-meta-item {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #f4efe6;
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
}

.info-meta-score {
  background: rgba(14, 107, 97, 0.12);
  color: #0e6b61;
  font-weight: 700;
  font-size: 15px;
  padding: 5px 14px;
}

/* === Hide app-bar-nav on booking pages === */
.app-bar-nav {
  display: none;
}
