.offer-room-card { min-width: 0; }
.offer-room-card--with-photo { display: grid; grid-template-columns: minmax(220px, 30%) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.offer-room-card__content { min-width: 0; overflow-wrap: anywhere; }
.offer-room-card__content > h3 { line-height: 1.5; }
.offer-room-card__content form { margin-bottom: 0; }
.offer-room-card__media { min-width: 0; }
.offer-room-gallery { position: relative; aspect-ratio: 4 / 3; width: 100%; height: 100%; min-height: 220px; overflow: hidden; border-radius: 14px; background: var(--web-surface, #f2f4f6); touch-action: pan-y; }
.offer-room-gallery > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.offer-room-gallery [hidden] { display: none !important; }
.offer-room-gallery button.offer-room-gallery__arrow { position: absolute; top: 50%; transform: translateY(-50%); display: grid; place-items: center; width: 40px; height: 40px; padding: 0; border: 1px solid #ffffff80; border-radius: 50%; background: #182431b8; color: #fff; cursor: pointer; box-shadow: 0 2px 8px #0002; }
.offer-room-gallery__arrow--previous { left: 10px; }
.offer-room-gallery__arrow--next { right: 10px; }
.offer-room-gallery__arrow svg { width: 22px; height: 22px; }
.offer-room-gallery button.offer-room-gallery__arrow:hover { background: var(--web-primary, #b94f4e); }
.offer-room-gallery__arrow:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.offer-room-gallery__count { position: absolute; bottom: 10px; left: 50%; transform: translateX(-50%); padding: 4px 10px; border-radius: 20px; color: #fff; background: #182431cc; font-size: 12px; line-height: 1.4; white-space: nowrap; }
.offer-room-gallery__empty { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; padding: 20px; text-align: center; color: #687587; background: #f2f4f6; font-size: 13px; }
.offer-room-gallery__empty svg { width: 48px; height: 48px; }
@media (max-width: 767px) {
    .offer-room-card--with-photo { grid-template-columns: minmax(0, 1fr); gap: 16px; }
    .offer-room-gallery { aspect-ratio: 16 / 10; height: auto; min-height: 0; }
}
