/* The chosen hotel in the trip column: a booking summary, then the guest names. */
button.stay-chip {
  appearance: none;
  margin: 0;
  border: 0;
  font: inherit;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

button.stay-chip.is-more:hover { background: #d6e3fb; }

button.stay-chip:focus-visible { outline: 2px solid #2f6bff; outline-offset: 2px; }

.trip-stay { gap: 0.6rem; padding: 0.8rem 0.85rem 0.9rem; border-radius: 24px; }

.trip-stay-open {
  appearance: none;
  display: grid;
  gap: 0.6rem;
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: start;
  cursor: pointer;
}

.trip-stay-open:focus-visible { outline: 2px solid #2f6bff; outline-offset: 4px; border-radius: 14px; }

.trip-stay-cue {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  justify-self: start;
  color: #2f6bff;
  font-size: 0.82rem;
  font-weight: 700;
}

.trip-stay-cue svg { width: 0.9rem; height: 0.9rem; }

[dir="rtl"] .trip-stay-cue svg { transform: scaleX(-1); }

@media (hover: hover) and (pointer: fine) {
  .trip-stay-open:hover .trip-stay-hotel { color: #2f6bff; }
  .trip-stay-open:hover .trip-stay-photo img { transform: scale(1.03); }
}

.trip-stay-photo img { transition: transform 0.35s ease; }

@media (prefers-reduced-motion: reduce) {
  .trip-stay-photo img { transition: none; }
  .trip-stay-open:hover .trip-stay-photo img { transform: none; }
}

.trip-stay-photo {
  overflow: hidden;
  aspect-ratio: 2.4 / 1;
  border-radius: 14px;
  background: linear-gradient(135deg, #e4eeff, #f1eaff);
}

.trip-stay-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }

.trip-stay-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 0.6rem; }

.trip-stay-hotel {
  margin: 0;
  color: #10224f;
  font-size: 1.04rem;
  font-weight: 750;
  line-height: 1.25;
  letter-spacing: -0.01em;
}

.trip-stay-stars { flex: none; margin-top: 0.12rem; color: #f0b429; font-size: 0.78rem; letter-spacing: 0.06em; }

.trip-stay-address { margin: -0.25rem 0 0; color: #66769b; font-size: 0.82rem; line-height: 1.35; }

.trip-stay-when {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 0.75rem;
  border-radius: 14px;
  background: #f4f6fb;
}

.trip-stay-date { display: grid; gap: 0.12rem; min-width: 0; }

.trip-stay-date:last-child { text-align: end; }

.trip-stay-date-label { color: #6d7c9c; font-size: 0.7rem; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; }

.trip-stay-date-day { color: #10224f; font-size: 0.92rem; font-weight: 750; line-height: 1.25; }

.trip-stay-nights {
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fff;
  color: #4a5b82;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(24, 52, 102, 0.1);
}

.trip-stay-roombox { display: grid; gap: 0.45rem; }

.trip-stay-roomname { margin: 0; color: #10224f; font-size: 0.92rem; font-weight: 700; line-height: 1.3; }

.trip-stay-taxes { margin: 0; color: #8a5a12; font-size: 0.78rem; line-height: 1.4; }

.trip-stay-sum {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
  padding-top: 0.7rem;
  border-top: 1px dashed rgba(16, 40, 90, 0.16);
}

.trip-stay-sum-label { display: grid; gap: 0.1rem; min-width: 0; }

.trip-stay-sum-label strong { color: #10224f; font-size: 0.9rem; font-weight: 700; line-height: 1.25; }

.trip-stay-sum-label small { color: #6d7c9c; font-size: 0.78rem; }

.trip-stay-sum-value { color: #10224f; font-family: var(--round); font-size: 1.5rem; font-weight: 800; letter-spacing: -0.03em; line-height: 1; }

.trip-stay-book {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.1rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(16, 40, 90, 0.08);
}

.trip-stay-guests-title { margin: 0; color: #10224f; font-size: 0.92rem; font-weight: 750; }

.trip-stay-guests-hint { margin: -0.3rem 0 0; color: #6d7c9c; font-size: 0.78rem; line-height: 1.4; }

.trip-stay-guest { display: grid; gap: 0.35rem; }

.trip-stay-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.5rem; }

.trip-stay-input {
  width: 100%;
  min-height: 2.6rem;
  padding: 0.4rem 0.8rem;
  border: 1px solid rgba(16, 40, 90, 0.14);
  border-radius: 14px;
  background: #fff;
  color: #10224f;
  font: inherit;
  font-size: 0.92rem;
  transition: border-color 0.16s ease, box-shadow 0.16s ease;
}

.trip-stay-input::placeholder { color: #98a4bf; }

.trip-stay-input:focus { border-color: #2f6bff; box-shadow: 0 0 0 3px rgba(47, 107, 255, 0.16); outline: none; }

.trip-stay-input:disabled { background: #f4f6fb; color: #4a5b82; }

.trip-stay .trip-slot-link { margin-top: 0.1rem; }

@media (max-width: 380px) {
  .trip-stay-pair { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .trip-stay-input { transition: none; }
}
