/* A single date-specific comparison, shared by the sidebar and mobile stay area. */
.hotel-room-select { width: 100%; min-height: 46px; margin-top: 8px; }
.hotel-detail .hotel-room-select + .hotel-room-view-rate { margin-top: 12px; }
.hotel-room-card.is-selected { box-shadow: 0 0 0 2px #ffc800, 0 6px 24px #e4c35724; }
.hotel-room-select[aria-pressed="true"] { background: #fff0a5; }
.hotel-comparison-selection { margin: 14px 0 0; padding: 10px; background: #fff9df; border-radius: 10px; font-size: 12px; line-height: 1.5; }
.hotel-comparison-room { color: #736884; font-size: 10px; line-height: 1.5; }
.hotel-price-comparison { min-width: 0; padding: 21px 18px 18px; border-radius: 24px; background: #fff; box-shadow: 0 5px 22px #23304005; }
.hotel-comparison-eyebrow { display: block; margin-bottom: 4px; color: #85818d; font-size: 10px; font-weight: 600; letter-spacing: .09em; text-transform: uppercase; }
.hotel-detail .hotel-price-comparison h2 { margin: 0; font-size: 21px; line-height: 1.3; }
.hotel-comparison-heading p { margin: 8px 0 0; color: #727781; font-size: 11px; line-height: 1.6; }
.hotel-comparison-offers { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 18px; }
.hotel-comparison-offer { display: flex; flex-direction: column; align-items: stretch; min-width: 0; gap: 5px; }
.hotel-comparison-bronevik { padding-right: 12px; }
.hotel-comparison-yandex { padding-left: 12px; border-left: 1px solid #ecebf0; }
.hotel-comparison-source { display: flex; align-items: center; gap: 4px; min-height: 35px; margin-bottom: 5px; color: #444950; font-size: 10px; font-weight: 600; line-height: 1.3; }
.hotel-comparison-source img { display: block; flex: 0 0 auto; width: auto; height: 18px; max-width: 24px; object-fit: contain; }
.hotel-comparison-night { display: block; color: #626672; font-size: 11px; line-height: 1.5; }
.hotel-comparison-total { display: block; margin: 2px 0; color: #16171a; font-size: 22px; font-weight: 700; line-height: 1.3; white-space: nowrap; }
.hotel-comparison-stay { display: block; color: #858895; font-size: 11px; line-height: 1.5; }
.hotel-comparison-status { min-height: 80px; color: #7b7d89; font-size: 12px; line-height: 1.5; }
.hotel-comparison-quote { display: flex; flex-direction: column; gap: 5px; }
.hotel-comparison-button { display: inline-flex; justify-content: center; align-items: center; gap: 8px; width: 100%; min-height: 43px; margin-top: auto; padding: 10px 7px; border: 0; border-radius: 10px; color: #1b1c21; font: inherit; font-size: 11px; font-weight: 500; line-height: 1.4; text-align: center; text-decoration: none; cursor: pointer; transition: background .16s ease; }
.hotel-comparison-button-primary { background: #ffc800; }
.hotel-comparison-button-primary:hover { background: #ffda3a; }
.hotel-comparison-button-yandex { background: #f0ebfb; color: #41354e; }
.hotel-comparison-button-yandex:hover { background: #e7def9; }
.hotel-comparison-button:focus-visible { outline: 2px solid #7560cc; outline-offset: 3px; }
.hotel-comparison-button[hidden], .hotel-comparison-quote[hidden] { display: none; }
.hotel-comparison-note { margin: 15px 0 0; padding-top: 13px; border-top: 1px solid #f0eef3; color: #898794; font-size: 10px; line-height: 1.6; }
.hotel-comparison-empty { margin: 13px 0 18px; color: #70717d; font-size: 13px; line-height: 1.6; }
.hotel-price-comparison > .hotel-comparison-button { font-size: 13px; }
/* Shared rows keep both providers aligned even when the matched room has a
   multi-line name. Avoid subgrid for older Safari releases. */
.hotel-comparison-offers { position: relative; column-gap: 24px; row-gap: 5px; }
.hotel-comparison-offers::before { position: absolute; inset: 0 auto 0 50%; border-left: 1px solid #ecebf0; content: ''; }
.hotel-comparison-offer, .hotel-comparison-quote { display: contents; }
.hotel-comparison-bronevik > * { grid-column: 1; }
.hotel-comparison-yandex > *, .hotel-comparison-quote > * { grid-column: 2; }
.hotel-comparison-offers .hotel-comparison-source { grid-row: 1; }
.hotel-comparison-offers .hotel-comparison-night { grid-row: 2; }
.hotel-comparison-offers .hotel-comparison-total { grid-row: 3; font-variant-numeric: tabular-nums; }
.hotel-comparison-offers .hotel-comparison-stay { grid-row: 4; }
.hotel-comparison-offers .hotel-comparison-button { grid-row: 5; margin-top: 8px; }
.hotel-comparison-offers .hotel-comparison-room { grid-row: 6; }
.hotel-comparison-offers .hotel-comparison-status { grid-row: 2 / 5; }
.hotel-comparison-offers [hidden] { display: none !important; }
@media (min-width: 901px) and (max-width: 1100px) {
  .hotel-price-comparison { padding: 18px 14px 16px; }
  .hotel-comparison-bronevik { padding-right: 9px; }
  .hotel-comparison-yandex { padding-left: 9px; }
  .hotel-comparison-total { font-size: 19px; }
}
@media (max-width: 900px) {
  .hotel-mobile-stay .hotel-price-comparison { margin-top: 16px; }
  .hotel-comparison-source { font-size: 12px; }
  .hotel-comparison-total { font-size: 25px; }
  .hotel-comparison-button { margin-top: 12px; font-size: 13px; }
  .hotel-comparison-night, .hotel-comparison-stay { font-size: 12px; }
}
@media (max-width: 380px) {
  .hotel-comparison-source { font-size: 10px; }
  .hotel-comparison-total { font-size: 21px; }
  .hotel-comparison-button { font-size: 12px; }
}
