:root {
  --ink: #0E1726;
  --muted: #222B38;
  --line: #9AA8B9;
  --soft: #F1F4F8;
  --card: #FFFFFF;
  --navy: #041E42;
  --blue: #145DB8;
  --gray: #222B38;
  --silver: #E5EBF2;
  --green: #246B3D;
  --red: #A33D2D;
  --shadow: 0 12px 28px rgba(4, 30, 66, 0.10);
  --radius: 22px;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: #EEF3F8;
}
h1,
h2,
h3,
.eyebrow {
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
}
a {
  color: inherit;
}

.hero {
  background:
    radial-gradient(circle at 86% 10%, rgba(14, 23, 38, 0.50), transparent 30%),
    linear-gradient(135deg, #041E42, #17345F 62%, var(--gray));
  color: white;
  padding: 30px 22px 26px;
}

.hero-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.eyebrow {
  color: #E8EEF7;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 800;
  margin: 0 0 10px;
}

h1 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3.15rem);
  line-height: 1.02;
  letter-spacing: -0.045em;
  max-width: 820px;
}

.hero p {
  max-width: 760px;
  color: #F5F7FA;
  font-size: 0.95rem;
  line-height: 1.55;
}

.hero-actions {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 16px;
}

button, .button-link {
  font-family: inherit;
  border: 0;
  cursor: pointer;
  border-radius: 999px;
  padding: 9px 14px;
  font-weight: 800;
  font-size: 0.92rem;
  background: white;
  color: var(--navy);
  text-decoration: none;
}

button.secondary {
  background: rgba(255,255,255,0.13);
  color: white;
  border: 1px solid rgba(255,255,255,0.25);
}

button.ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--line);
}

main {
  max-width: 1180px;
  margin: -18px auto 56px;
  padding: 0 20px;
}

.catalogue-notice {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid #A9BCE0;
  border-left: 5px solid var(--blue);
  border-radius: 16px;
  background: #F3F7FF;
  color: var(--ink);
  box-shadow: 0 8px 20px rgba(4, 30, 66, 0.08);
}

.catalogue-notice-icon {
  flex: 0 0 auto;
  display: inline-grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: var(--navy);
  color: #FFFFFF;
  font-family: Arial, sans-serif;
  font-size: 0.95rem;
  font-weight: 900;
  line-height: 1;
}

.catalogue-notice p {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 650;
  line-height: 1.45;
}

.catalogue-notice strong {
  color: var(--navy);
  font-weight: 900;
}

.panel {
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(154, 168, 185, 0.92);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 16px;
}

.toolbar {
  display: grid;
  grid-template-columns: 2fr repeat(4, minmax(130px, 1fr));
  gap: 10px;
  align-items: end;
}

.field label {
  display: block;
  font-size: 0.68rem;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 6px;
}

input, select {
  font-family: inherit;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 11px;
  font-size: 0.98rem;
  background: white;
  color: var(--ink);
}

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

.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 13px 14px;
}

.stat strong {
  display: block;
  font-size: 1.35rem;
  letter-spacing: -0.03em;
}

.stat span {
  color: var(--muted);
  font-size: 0.78rem;
}

.content-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin: 18px 0 13px;
}

.content-head h2 {
  margin: 0;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.small-note {
  color: var(--muted);
  font-size: 0.82rem;
}

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

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(4, 30, 66, 0.08);
  display: flex;
  flex-direction: column;
}

.card-media {
  height: 156px;
  background:
    radial-gradient(circle at 85% 18%, rgba(255,255,255,0.5), transparent 22%),
    linear-gradient(135deg, #a68c72 0%, #cfb17f 55%, #f2e2c3 100%);
  color: var(--navy);
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}

.card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.03), rgba(255,253,248,0.16));
  pointer-events: none;
}

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

.placeholder,
.media-initials {
  position: absolute;
  top: 13px;
  right: 13px;
  display: inline-grid;
  place-items: center;
  min-width: 48px;
  height: 48px;
  padding: 0 12px;
  border-radius: 16px;
  background: rgba(255,255,255,0.96);
  color: var(--navy);
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  box-shadow: 0 8px 18px rgba(4,30,66,0.12);
  opacity: 1;
}

.badge {
  position: absolute;
  bottom: 14px;
  left: 14px;
  background: rgba(255,255,255,0.96);
  color: var(--navy);
  border-radius: 999px;
  padding: 7px 10px;
  font-size: 0.64rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 900;
  z-index: 1;
}

.card-body {
  padding: 16px 17px 17px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.hotel-title-row {
  display: block;
}

.card h3 {
  margin: 0;
  font-size: 1.18rem;
  line-height: 1.1;
  letter-spacing: -0.035em;
  font-weight: 700;
}

.unit {
  color: var(--muted);
  font-size: 0.73rem;
  line-height: 1.35;
}

.meta {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.pill {
  border: 1px solid var(--line);
  background: #FFFFFF;
  border-radius: 999px;
  padding: 5px 8px;
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 800;
  line-height: 1;
}

.price {
  font-size: 0.94rem;
  line-height: 1.08;
  font-weight: 900;
  letter-spacing: -0.035em;
  margin-top: 0;
  color: var(--navy);
  text-align: right;
  white-space: nowrap;
}

.price small {
  display: block;
  font-size: 0.58rem;
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0;
  margin-top: 2px;
}

.amenities {
  color: var(--muted);
  font-size: 0.72rem;
  line-height: 1.45;
  min-height: 0;
}

.amenity-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 2px;
}

.amenity-chip {
  max-width: 100%;
  border: 1px solid var(--line);
  background: #FFFFFF;
  border-radius: 999px;
  padding: 6px 8px;
  font-size: 0.66rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.card-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
  padding-top: 4px;
}

.card-actions button {
  flex: 1;
  padding: 9px 11px;
  border-radius: 13px;
  font-size: 0.75rem;
}

.primary {
  background: var(--navy);
  color: white;
}

.compare-selected {
  background: #eaf7ef !important;
  color: var(--green) !important;
}

.empty {
  padding: 34px;
  text-align: center;
  border: 1px dashed #66758A;
  border-radius: var(--radius);
  background: white;
  color: var(--muted);
}

.modal {
  position: fixed;
  inset: 0;
  background: rgba(4,30,66,0.68);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 20;
}

.modal.open {
  display: flex;
}

.modal-card {
  background: #FFFFFF;
  border-radius: 24px;
  max-width: 940px;
  width: 100%;
  max-height: 92vh;
  overflow: auto;
  box-shadow: 0 32px 70px rgba(0,0,0,0.3);
}

.modal-hero {
  height: 220px;
  background: linear-gradient(135deg, #041E42, var(--gray) 60%, #314154);
  color: #FFFFFF;
  position: relative;
  display: grid;
  place-items: center;
}

.modal-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(255,253,248,0.92);
  color: var(--navy);
}

.modal-content {
  padding: 21px;
}

.details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.detail-block {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 14px;
}

.detail-block h4 {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.detail-block p {
  white-space: pre-line;
  margin: 0;
  line-height: 1.52;
  color: var(--muted);
  font-size: 0.86rem;
}

.links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 12px;
}

.links a {
  display: inline-block;
  background: var(--navy);
  color: white;
  padding: 9px 12px;
  border-radius: 999px;
  font-weight: 800;
  text-decoration: none;
  font-size: 0.78rem;
}

.compare-drawer {
  position: sticky;
  bottom: 16px;
  z-index: 10;
  margin-top: 20px;
  display: none;
}

.compare-drawer.open {
  display: block;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border-radius: 18px;
  background: white;
  box-shadow: var(--shadow);
}

.compare-table th,
.compare-table td {
  padding: 11px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
  font-size: 0.82rem;
}

.compare-table th {
  background: var(--navy);
  color: white;
}

.footer-note {
  margin: 28px 0 0;
  padding: 15px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #FFFFFF;
  color: var(--muted);
  font-size: 0.88rem;
  font-weight: 650;
  line-height: 1.55;
  text-align: center;
}

.footer-note a {
  color: var(--navy);
  font-weight: 850;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.footer-note a:hover,
.footer-note a:focus-visible {
  color: var(--blue);
}

/* Grouped hotel view: one hotel card can display many bedroom/unit types. */
.hotel-card .card-body {
  gap: 8px;
}

.unit-list-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 0.74rem;
}

.unit-list-head strong {
  font-size: 0.74rem;
}

.unit-list-head span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
}

.unit-list {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  background: white;
  max-height: 230px;
  scrollbar-gutter: stable;
}

.unit-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #FFFFFF;
  padding: 9px 10px;
}

.unit-row:last-child {
  border-bottom: 0;
}

.unit-row.compact {
  background: #FFFFFF;
}

.unit-row-link {
  text-decoration: none;
  color: inherit;
  transition: background 0.16s ease, transform 0.16s ease, border-color 0.16s ease;
}

.unit-row-link:hover {
  background: #F4F8FF;
  border-color: rgba(4,30,66,0.22);
}

.unit-side {
  text-align: right;
  display: grid;
  gap: 2px;
  justify-items: end;
}

.unit-link-label {
  display: inline-block !important;
  color: var(--blue) !important;
  font-size: 0.58rem !important;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.muted-link {
  color: var(--muted) !important;
  opacity: 0.72;
}

.unit-row strong,
.unit-option-line strong {
  display: block;
  font-size: 0.92rem;
  color: var(--blue);
  line-height: 1.22;
  font-weight: 750;
}

.unit-row span,
.unit-option-line span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  margin-top: 3px;
}

.unit-price {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--navy);
  white-space: nowrap;
  text-align: right;
}

.unit-options-block {
  background: #ffffff;
}

.unit-options-table {
  display: grid;
  gap: 8px;
}

.unit-option-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--soft);
}

.unit-option-line > div:last-child {
  text-align: right;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .toolbar {
    grid-template-columns: 1fr 1fr;
  }
  .grid, .stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .toolbar, .grid, .stats, .details-grid {
    grid-template-columns: 1fr;
  }
  main {
    padding: 0 14px;
  }
  .catalogue-notice {
    align-items: flex-start;
    padding: 13px 14px;
  }
  .hotel-title-row,
  .unit-row,
  .unit-option-line {
    grid-template-columns: 1fr;
  }
  .price,
  .unit-price,
  .unit-option-line > div:last-child {
    text-align: left;
  }
}

@media print {
  .hero-actions, .toolbar, .card-actions, .compare-drawer, .modal {
    display: none !important;
  }
  body {
    background: white;
  }
  main {
    margin: 0;
    max-width: none;
  }
  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .card {
    break-inside: avoid;
  }
}


.modal-eyebrow {
  color: var(--blue);
  margin-bottom: 8px;
}

.unit-option-link {
  text-decoration: none;
  color: inherit;
  transition: background 0.16s ease, border-color 0.16s ease;
}

.unit-option-link:hover {
  background: #F4F8FF;
  border-color: rgba(4,30,66,0.24);
}

@media (max-width: 640px) {
  .unit-side {
    text-align: left;
    justify-items: start;
  }
}


/* Garamond-style serif refinement */
body, button, input, select, textarea {
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
}

button, .button-link, input, select {
  letter-spacing: 0.01em;
}

/* Details modal no longer repeats the hotel image. */
.modal-card {
  position: relative;
}

.no-detail-image .modal-content {
  padding-top: 58px;
}

.no-detail-image .close {
  top: 16px;
  right: 16px;
}

/* Room rows: friendly blue for the clickable bedroom/unit option names. */
.unit-row strong,
.unit-option-line strong,
.compare-unit-line strong {
  color: var(--blue);
}

.unit-row-link:hover,
.unit-option-link:hover {
  background: #F3F8FF;
  border-color: rgba(47, 111, 219, 0.28);
}

.rate-note-inline {
  color: #222B38 !important;
  font-style: italic;
  margin-top: 4px !important;
}

.rate-notes-block {
  background: #F8FAFC;
}

.rate-notes-list {
  display: grid;
  gap: 8px;
}

.rate-note-item {
  background: white;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 9px 10px;
}

.rate-note-item strong {
  display: block;
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 3px;
}

.rate-note-item p {
  margin: 0;
  white-space: pre-line;
}

.compare-panel {
  background: white;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.compare-heading {
  padding: 13px 15px;
  border-bottom: 1px solid var(--line);
  background: #F8FAFC;
}

.compare-heading strong {
  display: block;
  color: var(--navy);
  font-size: 1.05rem;
}

.compare-heading span {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
  margin-top: 2px;
}

.compare-unit-line {
  padding: 5px 0;
  border-bottom: 1px solid rgba(154,168,185,0.72);
}

.compare-unit-line:last-child {
  border-bottom: 0;
}

.compare-unit-line strong {
  display: block;
  font-size: 0.95rem;
}

.compare-unit-line span,
.compare-unit-line em {
  display: block;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.35;
}

.compare-unit-line em {
  font-style: italic;
}

.compare-actions {
  display: grid;
  gap: 8px;
  min-width: 150px;
}

.reservation-select {
  border: 1px solid rgba(47, 111, 219, 0.35);
  color: var(--navy);
  background: #F3F8FF;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
}

.remove-compare {
  width: 100%;
  border-radius: 999px !important;
  padding: 8px 10px !important;
}

@media (max-width: 760px) {
  .compare-table,
  .compare-table thead,
  .compare-table tbody,
  .compare-table th,
  .compare-table td,
  .compare-table tr {
    display: block;
    width: 100%;
  }

  .compare-table thead {
    display: none;
  }

  .compare-table tr {
    border-bottom: 1px solid var(--line);
    padding: 10px;
  }

  .compare-table td {
    border-bottom: 0;
    padding: 7px 4px;
  }
}


/* === Final robustness and polish overrides === */
body,
button,
input,
select,
textarea {
  font-family: "Cormorant Garamond", Garamond, "Times New Roman", serif;
}

.unit-row strong,
.unit-option-line strong,
.compare-unit-line strong {
  color: var(--blue);
}

.rate-note-inline {
  display: block;
  margin-top: 3px;
  color: var(--muted) !important;
  font-size: 0.72rem !important;
  line-height: 1.25;
  font-style: italic;
}

.rate-notes-list {
  display: grid;
  gap: 9px;
}

.rate-note-item {
  background: #FFFFFF;
  border: 1px solid var(--line);
  border-radius: 13px;
  padding: 10px 11px;
}

.rate-note-item strong {
  color: #041E42;
  display: block;
  margin-bottom: 4px;
}

.rate-note-item p {
  margin: 0;
}

.modal-card.no-detail-image {
  position: relative;
}

.no-detail-image .modal-content {
  padding-top: 58px;
}

.no-detail-image .close {
  top: 16px;
  right: 16px;
}

.compare-actions {
  display: grid;
  gap: 8px;
  min-width: 160px;
}

.reservation-select {
  border: 1px solid rgba(47, 111, 219, 0.35);
  color: #041E42;
  background: #F3F8FF;
  border-radius: 999px;
  padding: 8px 10px;
  font-weight: 700;
  cursor: pointer;
  width: 100%;
}

.remove-compare {
  width: 100%;
  border-radius: 999px !important;
  padding: 8px 10px !important;
}

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

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

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

  .content-head,
  .unit-list-head {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .unit-row,
  .unit-option-line {
    grid-template-columns: 1fr;
  }

  .unit-side {
    text-align: left;
    justify-items: start;
  }
}


/* === Compare drawer + scroll UX upgrades === */
.unit-list::-webkit-scrollbar,
.compare-scroll::-webkit-scrollbar,
.compare-unit-scroll::-webkit-scrollbar,
.compare-unit-picker-list::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

.unit-list::-webkit-scrollbar-thumb,
.compare-scroll::-webkit-scrollbar-thumb,
.compare-unit-scroll::-webkit-scrollbar-thumb,
.compare-unit-picker-list::-webkit-scrollbar-thumb {
  background: rgba(34, 43, 56, 0.70);
  border-radius: 999px;
}

.unit-list-head span {
  display: none;
}

.compare-drawer {
  position: sticky;
  bottom: 14px;
  z-index: 10;
  margin-top: 20px;
}

.compare-panel {
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(154, 168, 185, 0.96);
  border-radius: 20px;
  box-shadow: 0 18px 38px rgba(4, 30, 66, 0.16);
  overflow: hidden;
}

.compare-toolbar {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 7px 9px 7px 13px;
  background: #FFFFFF;
  border-bottom: 1px solid var(--line);
}

.compare-count {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.compare-icons {
  display: flex;
  align-items: center;
  gap: 6px;
}

.icon-button,
.hotel-remove-icon,
.unit-remove-icon {
  width: 28px;
  height: 28px;
  min-width: 28px;
  padding: 0 !important;
  display: inline-grid;
  place-items: center;
  border-radius: 999px !important;
  background: #F4F5F7;
  color: var(--navy);
  border: 1px solid var(--line);
  font-size: 1rem;
  line-height: 1;
  font-weight: 900;
}

.icon-button:hover,
.hotel-remove-icon:hover,
.unit-remove-icon:hover {
  background: #EEF3FF;
  border-color: rgba(47, 111, 219, 0.35);
}

.compare-panel.collapsed .compare-toolbar {
  border-bottom: 0;
}

.compare-collapsed-list {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0 13px 12px;
}

.compare-collapsed-list span {
  max-width: 210px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px 8px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
}

.compare-scroll {
  max-height: min(62vh, 540px);
  overflow: auto;
}

.compare-table {
  box-shadow: none;
  border-radius: 0;
  min-width: 920px;
}

.compare-table th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: var(--navy);
  color: white;
  font-size: 0.76rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.compare-table th,
.compare-table td {
  padding: 10px;
}

.compare-hotel-cell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 8px;
}

.compare-hotel-cell strong {
  display: block;
  font-size: 0.92rem;
  line-height: 1.22;
  color: var(--navy);
}

.hotel-remove-icon {
  background: #FFFFFF;
}

.compare-unit-scroll {
  max-height: 190px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 3px;
}

.compare-unit-line {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  align-items: start;
  padding: 6px 0;
  border-bottom: 1px solid rgba(154, 168, 185, 0.78);
}

.compare-unit-main {
  min-width: 0;
}

.compare-unit-line strong {
  color: var(--blue);
  font-size: 0.88rem;
  line-height: 1.2;
}

.compare-unit-line span,
.compare-unit-line em {
  color: var(--muted);
  font-size: 0.75rem;
  line-height: 1.28;
}

.unit-remove-icon {
  width: 23px;
  height: 23px;
  min-width: 23px;
  font-size: 0.9rem;
  background: #FFFFFF;
  color: var(--muted);
}

.compare-unit-empty {
  color: var(--muted);
  font-size: 0.8rem;
  padding: 4px 0 8px;
}

.compare-unit-picker {
  margin-top: 7px;
  position: relative;
}

.compare-unit-picker summary {
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  list-style: none;
  border-radius: 999px;
  border: 1px solid rgba(47, 111, 219, 0.32);
  background: #F3F8FF;
  color: var(--blue);
  font-weight: 900;
  cursor: pointer;
}

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

.compare-unit-picker[open] summary {
  background: var(--navy);
  color: white;
  border-color: var(--navy);
}

.compare-unit-picker-list {
  margin-top: 7px;
  display: grid;
  gap: 6px;
  max-height: 210px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 3px;
}

.compare-unit-choice {
  width: 100%;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  text-align: left;
  border: 1px solid var(--line);
  background: #FFFFFF;
  color: var(--ink);
  border-radius: 12px;
  padding: 7px 8px;
}

.compare-unit-choice.selected {
  background: #F4F8FF;
  border-color: rgba(47, 111, 219, 0.3);
}

.choice-icon {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #EEF1F4;
  color: var(--blue);
  font-weight: 900;
  line-height: 1;
}

.choice-text strong,
.choice-text em {
  display: block;
}

.choice-text strong {
  color: var(--navy);
  font-size: 0.82rem;
  line-height: 1.2;
}

.choice-text em {
  margin-top: 2px;
  color: var(--muted);
  font-size: 0.72rem;
  font-style: normal;
}

.reservation-select {
  min-width: 112px;
  width: auto;
  max-width: 132px;
  border-radius: 999px;
  padding: 7px 9px;
  font-size: 0.82rem;
}

.compare-actions {
  min-width: 0;
}

@media (max-width: 760px) {
  .compare-scroll {
    max-height: 68vh;
  }

  .compare-table {
    min-width: 0;
  }

  .compare-table td {
    padding: 9px 10px;
  }

  .compare-hotel-cell {
    align-items: center;
  }

  .reservation-select {
    width: 100%;
    max-width: none;
  }
}
.hero-office {
  margin: 10px 0 12px;
}

.hero-office p {
  margin: 0;
  line-height: 1.15;
  font-size: 1rem;
  color: #F5F7FA;
}


/* === High-contrast text pass ===
   Near-black and charcoal replace grey text everywhere. Pale blue-white surfaces are kept
   intentionally so cards, inputs, and tables remain calm rather than visually heavy. */
:root {
  --ink: #0E1726;
  --muted: #222B38;
  --gray: #222B38;
  --line: #9AA8B9;
  --soft: #F1F4F8;
  --silver: #E5EBF2;
}

body,
input,
select,
textarea,
button {
  color: var(--ink);
}

::placeholder {
  color: #2D3748;
  opacity: 1;
}

.field label,
.stat span,
.small-note,
.unit,
.pill,
.price small,
.amenities,
.amenity-chip,
.empty,
.detail-block p,
.footer-note,
.unit-list-head span,
.unit-row span,
.unit-option-line span,
.muted-link,
.rate-note-inline,
.compare-heading span,
.compare-unit-line span,
.compare-unit-line em,
.compare-count,
.compare-collapsed-list span,
.unit-remove-icon,
.compare-unit-empty,
.choice-text em {
  color: var(--muted) !important;
  opacity: 1;
}

input,
select,
.pill,
.amenity-chip,
.unit-list,
.detail-block,
.rate-note-item,
.compare-panel,
.compare-unit-choice,
.footer-note {
  border-color: var(--line);
}

.empty {
  border-color: #66758A;
}

.hero {
  background:
    radial-gradient(circle at 86% 10%, rgba(14, 23, 38, 0.50), transparent 30%),
    linear-gradient(135deg, #041E42, #17345F 62%, #222B38);
}

.modal-hero {
  background: linear-gradient(135deg, #041E42, #222B38 60%, #314154);
  color: #FFFFFF;
}

.unit-list::-webkit-scrollbar-thumb,
.compare-scroll::-webkit-scrollbar-thumb,
.compare-unit-scroll::-webkit-scrollbar-thumb,
.compare-unit-picker-list::-webkit-scrollbar-thumb {
  background: rgba(34, 43, 56, 0.70);
}

input:focus,
select:focus,
button:focus-visible,
a:focus-visible {
  outline: 3px solid rgba(20, 93, 184, 0.35);
  outline-offset: 2px;
}
