/* Roraima Stay — offer detail; scoped to the detail template. */
.offer-page { padding-top: 20px; padding-bottom: 64px; }
.offer-back { display: inline-block; margin-bottom: 18px; font-size: 14px; text-decoration: none; }
.offer-back:hover { text-decoration: underline; }
.offer-heading { margin-bottom: 22px; }
.offer-heading h1 { margin: 0 0 8px; font-size: 34px; line-height: 1.2; letter-spacing: -.02em; overflow-wrap: anywhere; }
.offer-heading p { margin: 0; color: var(--body); font-size: 16px; }
.offer-heading .offer-facts { margin-top: 8px; font-size: 14.5px; color: var(--muted); }
.offer-gallery { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: repeat(2,minmax(0,1fr)); gap: 8px; height: 340px; border-radius: 16px; overflow: hidden; background: var(--soft); }
.offer-gallery__photo { display: block; min-width: 0; min-height: 0; overflow: hidden; }
.offer-gallery__photo:first-child { grid-row: span 2; }
.offer-gallery img { display: block; width: 100%; height: 100%; object-fit: cover; }
.offer-gallery__photo:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: -4px; }
.offer-gallery { position: relative; }
.offer-gallery__photo { position: relative; }
.offer-gallery__number { position: absolute; top: 12px; left: 12px; padding: 4px 10px; border-radius: 6px; background: #0a2540d9; color: white; font-size: 13px; font-weight: 600; }
.offer-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
.offer-gallery--2 .offer-gallery__photo:first-child { grid-row: auto; }
.offer-gallery__more { position: absolute; right: 16px; bottom: 16px; padding: 10px 16px; border: 1px solid var(--line); border-radius: 8px; background: white; box-shadow: 0 2px 10px #0a254026; color: var(--ink); font-size: 14px; font-weight: 600; text-decoration: none; }
.offer-gallery__more:hover { color: var(--primary-text); }
.offer-gallery__more:focus-visible { outline: 3px solid var(--focus-ring); outline-offset: 3px; }
.offer-gallery__swipe { display: none; }
.offer-layout { display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 52px; margin-top: 28px; align-items: start; }
.offer-information { min-width: 0; }
.offer-description { color: var(--body); font-size: 16px; line-height: 1.7; }
.offer-description h2, .offer-services h2 { color: var(--ink); margin: 0 0 16px; font-size: 21px; line-height: 1.3; letter-spacing: -.01em; }
.offer-description p { margin: 0 0 16px; }
.offer-description p:last-child { margin-bottom: 0; }
.offer-services { display: grid; grid-template-columns: 1fr 1fr; gap: 32px 40px; margin-top: 32px; padding-top: 32px; border-top: 1px solid var(--line); }
.offer-services__group:nth-child(n+3) { grid-column: 1 / -1; padding-top: 28px; border-top: 1px solid var(--line); }
.offer-services ul { list-style: none; padding: 0; margin: 0; color: var(--body); font-size: 15px; }
.offer-services li { padding: 6px 0; }
.offer-services__group:nth-child(n+3) ul { columns: 2; column-gap: 40px; }
.offer-services__group:nth-child(n+3) li { break-inside: avoid; }
.offer-reservation { position: sticky; top: 28px; }
.offer-reservation__inner { display: flex; flex-direction: column; padding: 26px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 6px 24px rgba(10,37,64,.055); background: var(--surface-raised); }
.offer-reservation .stay-card__price { font-size: 32px; font-weight: 750; line-height: 1.2; }
.offer-reservation .stay-card__note { display: block; margin: 6px 0 20px; font-size: 14px; color: var(--muted); }
.offer-reservation .stay-card__book { width: 100%; padding: 15px 12px; box-shadow: none; text-align: center; }
.offer-direct { display: flex; gap: 8px; align-items: flex-start; margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--body); line-height: 1.55; }
.offer-direct .rm-icon { width: 18px; height: 18px; margin-top: 2px; color: var(--mint-text); }
@media (max-width: 900px) {
  .offer-layout { gap: 28px; grid-template-columns: minmax(0,1fr) 280px; }
  .offer-reservation__inner { padding: 22px; }
}
@media (max-width: 720px) {
  .offer-page { padding-top: 20px; padding-bottom: 40px; }
  .offer-back { margin-bottom: 18px; }
  .offer-heading { margin-bottom: 20px; }
  .offer-heading h1 { font-size: 28px; }
  .offer-heading p { font-size: 15px; }
  .offer-heading .offer-facts { font-size: 14px; line-height: 1.6; }
  .offer-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; gap: 6px; border-radius: 12px; }
  .offer-gallery__photo:first-child { grid-column: 1 / -1; grid-row: auto; }
  .offer-gallery__photo:first-child img { aspect-ratio: 4 / 3; }
  .offer-gallery__photo:not(:first-child) img { aspect-ratio: 4 / 3; }
  .offer-gallery--2 { grid-template-columns: 1fr 1fr; grid-template-rows: 1fr; }
  .offer-gallery--2 .offer-gallery__photo:first-child { grid-column: auto; }
  .offer-gallery--2 .offer-gallery__photo img { aspect-ratio: 3 / 4; }
  .offer-gallery__more { right: 10px; bottom: 10px; padding: 8px 12px; font-size: 13px; }
  .offer-gallery--many { display: block; }
  .offer-gallery--many > .offer-gallery__photo { display: none; }
  .offer-gallery__swipe { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; overscroll-behavior-x: contain; scrollbar-width: none; }
  .offer-gallery__swipe::-webkit-scrollbar { display: none; }
  .offer-gallery__swipe .offer-gallery__photo { flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
  .offer-gallery__swipe .offer-gallery__photo img { aspect-ratio: 4 / 3; }
  .offer-layout { grid-template-columns: 1fr; gap: 28px; margin-top: 24px; }
  .offer-reservation { position: static; grid-row: 1; }
  .offer-reservation__inner { padding: 22px; }
  .offer-reservation .stay-card__price { font-size: 28px; }
  .offer-direct { margin-top: 18px; padding-top: 16px; }
  .offer-description { font-size: 16px; line-height: 1.65; }
  .offer-services { gap: 28px; grid-template-columns: 1fr; padding-top: 28px; margin-top: 28px; }
  .offer-services__group:nth-child(n+3) { padding-top: 0; border: 0; }
  .offer-services__group:nth-child(n+3) ul { columns: 1; }
}

.offer-gallery--1 { grid-template-columns: 1fr; grid-template-rows: 1fr; }
.offer-gallery--1 .offer-gallery__photo:first-child { grid-row: auto; }
.offer-description p { white-space: pre-line; overflow-wrap: anywhere; }
.offer-also { margin: 16px 0 0; font-size: 13.5px; color: var(--muted); }
.offer-gallery__swipe:focus-visible { outline: 2px solid var(--focus-ring); outline-offset: -3px; }
