.offer-room-results { container-type: inline-size; margin: 28px 0; border: 1px solid #dfe8e3; border-radius: 20px; background: #fff; color: #243b30; overflow: hidden; }
.offer-room-results__heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; padding: 20px; background: #f4f9f6; border-bottom: 1px solid #e2ebe7; }
.offer-room-results__heading h2 { margin: 0; font-size: 1.2rem; font-weight: 750; }
.offer-room-results__stay { display: flex; flex-wrap: wrap; gap: 8px; font-size: .78rem; }
.offer-room-results__stay span { padding: 7px 10px; border: 1px solid #e2ebe7; border-radius: 20px; background: #fff; }
.offer-room-result { display: grid; grid-template-columns: 340px minmax(0, 1fr) 250px; gap: 18px 20px; padding: 20px; border-bottom: 1px solid #e2ebe7; }
.offer-room-result:last-of-type { border-bottom: 0; }
.offer-room-result > * { min-width: 0; }
.offer-room-result__photo { grid-column: 1; grid-row: 1 / 3; align-self: start; position: relative; aspect-ratio: 16 / 10; width: 100%; overflow: hidden; border-radius: 12px; background: #edf3ef; }
.offer-room-result .offer-room-gallery { position: absolute; inset: 0; width: 100%; height: 100%; aspect-ratio: 16 / 10; min-height: 0; }
.offer-room-result__empty { display: grid; place-items: center; height: 100%; padding: 20px; color: #637469; text-align: center; font-size: .85rem; }
.offer-room-result__info { grid-column: 2; grid-row: 1; }
.offer-room-result__info h3 { margin: 0 0 6px; color: #243b30; font-size: 1.06rem; line-height: 1.5; font-weight: 750; overflow-wrap: anywhere; }
.offer-room-result__summary { margin: 0 0 14px; color: #65756d; font-size: .83rem; }
.offer-room-result__features { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; margin: 10px 0 14px; padding: 0; }
.offer-room-result__features li { padding: 4px 8px; border: 1px solid #e3e9e6; border-radius: 5px; background: #f6f8f7; color: #53665a; font-size: .78rem; line-height: 1.5; overflow-wrap: anywhere; }
.offer-room-result__board { margin: 12px 0; color: #64796a; font-size: .8rem; }
.offer-room-result__status { display: inline-block; padding: 5px 10px; border-radius: 20px; background: #f5f0e5; color: #715824; font-size: .78rem; font-weight: 650; }
.offer-room-result__status.is-available { background: #e8f5ee; color: #28764f; }
.offer-room-result__notice { margin: 12px 0 0; color: #68796f; font-size: .78rem; line-height: 1.65; }
.offer-room-result__price { grid-column: 3; grid-row: 1; padding-left: 20px; border-left: 1px solid #edf2f0; }
.offer-room-result__caption { display: block; margin-bottom: 8px; color: #65756d; font-size: .75rem; }
.offer-room-result__price form { margin: 16px 0 0; }
.offer-room-result__book { display: block; width: 100%; padding: 13px 16px; min-height: 46px; border: 0; border-radius: 10px; background: var(--web-green, #36865c); color: #fff; font: inherit; font-size: .9rem; font-weight: 700; cursor: pointer; }
.offer-room-result__book:hover { filter: brightness(.94); }
.offer-room-result__lowest { margin: 10px 0 0; color: #28764f; font-size: .73rem; font-weight: 650; }
.offer-room-result__tools { grid-column: 2 / -1; grid-row: 2; display: flex; flex-wrap: wrap; align-self: end; gap: 8px; padding-top: 12px; border-top: 1px solid #edf2f0; }
.offer-room-result__tools button, .offer-room-dialog__retry { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 38px; max-width: 100%; padding: 8px 10px; border: 1px solid #cee0d4; border-radius: 8px; background: #f0f8f3; color: #3b6650; font: inherit; font-size: .75rem; font-weight: 650; line-height: 1.4; white-space: normal; overflow-wrap: anywhere; cursor: pointer; }
.offer-room-result__tools button:hover, .offer-room-dialog__retry:hover { background: #e3f1e9; }
.offer-room-result__tools svg { width: 18px; height: 18px; flex: 0 0 18px; }
.offer-room-results button:focus-visible, .offer-room-dialog button:focus-visible { outline: 3px solid #488764; outline-offset: 3px; }
.offer-room-dialog { box-sizing: border-box; margin: auto; padding: 24px; width: min(1000px, calc(100vw - 32px)); max-width: none; max-height: 88vh; max-height: 88dvh; overflow: auto; border: 1px solid #dce8e1; border-radius: 20px; background: #fff; color: #243b30; box-shadow: 0 20px 70px #112c2440; }
.offer-room-dialog:not([open]) { display: none; }
.offer-room-dialog::backdrop { background: #102d226e; backdrop-filter: blur(3px); }
.offer-room-dialog__heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; position: sticky; top: -24px; z-index: 2; background: #fff; padding: 12px 0; border-bottom: 1px solid #e5ede8; }
.offer-room-dialog__heading h2 { margin: 0; font-size: 1.15rem; font-weight: 750; line-height: 1.5; overflow-wrap: anywhere; }
.offer-room-dialog__heading button { flex: 0 0 38px; width: 38px; height: 38px; padding: 0; border: 1px solid #dce8e1; border-radius: 9px; background: #f4f8f5; color: #243b30; cursor: pointer; }
.offer-room-dialog h3 { margin: 22px 0 14px; font-size: 1.05rem; font-weight: 700; }
.offer-room-dialog__facts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 18px 0; }
.offer-room-dialog__facts > div { padding: 14px; border: 1px solid #e2ebe5; border-radius: 12px; background: #f6faf7; min-width: 0; }
.offer-room-dialog dt { color: #65776b; font-size: .8rem; font-weight: 600; }
.offer-room-dialog dd { margin: 6px 0 0; font-size: .88rem; overflow-wrap: anywhere; }
.offer-room-dialog__cancellation { white-space: pre-wrap; overflow-wrap: anywhere; line-height: 1.8; font-size: .87rem; }
.offer-room-dialog__notice { margin: 18px 0; padding: 12px 14px; background: #f4f8f5; border: 1px solid #e1ebe4; border-radius: 10px; color: #52685b; font-size: .83rem; line-height: 1.65; }
.offer-room-dialog__fields { margin: 18px 0; }
.offer-room-dialog__fields > div { display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 16px; padding: 10px 0; border-bottom: 1px solid #e5ede8; }
.offer-room-dialog__fields dd { margin: 0; }
.offer-room-dialog__scroll { overflow: auto; margin-top: 18px; border: 1px solid #dce8e1; border-radius: 10px; }
.offer-room-dialog__table { width: 100%; border-collapse: collapse; font-size: .82rem; }
.offer-room-dialog__table th, .offer-room-dialog__table td { padding: 12px; text-align: left; border-bottom: 1px solid #e2ebe5; white-space: nowrap; }
.offer-room-dialog__table thead, .offer-room-dialog__table tfoot { background: #edf5f0; }
.offer-room-dialog__table tbody tr:nth-child(even) { background: #fafcfb; }
.offer-room-dialog__table small { display: block; color: #65776b; }
.offer-room-dialog [hidden] { display: none !important; }
@container (max-width: 1100px) {
    .offer-room-result { grid-template-columns: 300px minmax(0, 1fr); }
    .offer-room-result__photo { grid-row: 1 / 4; }
    .offer-room-result__price { grid-column: 2; grid-row: 2; border-left: 0; padding: 14px 0 0; border-top: 1px solid #edf2f0; }
    .offer-room-result__tools { grid-column: 2; grid-row: 3; }
}
@container (max-width: 760px) {
    .offer-room-result { grid-template-columns: 260px minmax(0, 1fr); }
    .offer-room-result__tools { grid-column: 1 / -1; }
    .offer-room-result__photo { grid-row: 1 / 3; }
}
@container (max-width: 600px) {
    .offer-room-result { grid-template-columns: minmax(0, 1fr); padding: 16px; gap: 16px; }
    .offer-room-result__photo, .offer-room-result__info, .offer-room-result__price, .offer-room-result__tools { grid-column: 1; grid-row: auto; }
    .offer-room-result__tools button { flex: 1 1 140px; }
}
@media (max-width: 600px) {
    .offer-room-dialog { padding: 16px; border-radius: 14px; }
    .offer-room-dialog__heading { top: -16px; }
    .offer-room-dialog__heading h2 { font-size: 1rem; }
    .offer-room-dialog__facts { grid-template-columns: minmax(0, 1fr); }
    .offer-room-dialog__fields > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
