body:has(.wl-hotel-profile) > .va-header.pg-header {
  position: sticky !important;
  inset-block-start: 0;
}

.wl-hotel-profile {
  --hotel-ink: #152c31;
  --hotel-green: #006b68;
  --hotel-line: #d4e0db;
  --hotel-paper: #f3f6f3;
  width: min(1360px, calc(100% - 2 * clamp(16px, 4.2vw, 76px)));
  margin-inline: auto;
  padding-block: clamp(20px, 3vw, 42px) clamp(48px, 6vw, 96px);
  color: var(--hotel-ink);
}

.wl-hotel-profile :is(h1, h2, h3, div, section, a, td) { min-inline-size: 0; }
.wl-hotel-profile :is(h1, h2, h3, p, dd, td, th) { overflow-wrap: anywhere; }
.wl-hotel-profile :is(h1, h2, h3) { text-align: start; }
.wl-hotel-profile section:not(.wl-hotel-book) { padding-block: 0; }
.wl-hotel-profile :is(a, button):focus-visible { outline: 2px solid var(--hotel-green); outline-offset: 4px; }
.wl-hotel-back { display: inline-flex; align-items: center; min-block-size: 44px; color: var(--hotel-green); font-weight: 700; }
.wl-hotel-intro { display: flex; gap: 16px 28px; justify-content: space-between; align-items: end; margin-block: 4px 20px; }
.wl-hotel-intro h1 { margin: 0 0 4px; font-size: clamp(2rem, 3.6vw, 3.75rem); line-height: 1.08; letter-spacing: -.035em; }
.wl-hotel-intro p { margin: 0; color: #4d6661; }
.wl-hotel-profile .wl-hotel-action { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-block-size: 46px; flex-shrink: 0; }

.wl-hotel-profile [data-hotel-gallery] { position: relative; margin: 0; }
.wl-hotel-mosaic {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-template-rows: repeat(2, minmax(0, 1fr));
  block-size: clamp(240px, 43svh, 460px);
  gap: 6px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--hotel-paper);
}
.wl-hotel-mosaic a { display: block; min-block-size: 0; overflow: hidden; }
.wl-hotel-mosaic a:first-child { grid-column: span 2; grid-row: span 2; }
.wl-hotel-mosaic:has(a:nth-child(2)):not(:has(a:nth-child(5))) { grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-template-rows: minmax(0, 1fr); }
.wl-hotel-mosaic:has(a:nth-child(2)):not(:has(a:nth-child(5))) a:first-child { grid-column: auto; grid-row: auto; }
.wl-hotel-mosaic:not(:has(a:nth-child(2))) { grid-template: minmax(0, 1fr) / minmax(0, 1fr); }
.wl-hotel-mosaic:not(:has(a:nth-child(2))) a:first-child { grid-column: auto; grid-row: auto; }
.wl-hotel-mosaic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.wl-hotel-mosaic a:focus-visible { outline-offset: -4px; }
.wl-hotel-extra { display: none !important; }
.wl-hotel-gallery-action { position: absolute; inset-inline-end: 14px; inset-block-end: 14px; margin: 0; }
.wl-hotel-gallery-action a {
  display: inline-flex; align-items: center; min-block-size: 44px; padding: 0 14px; border-radius: 999px;
  background: #fff; color: var(--hotel-ink); text-decoration: none; font-weight: 700; box-shadow: 0 2px 12px #152c3133;
}
.wl-hotel-lightbox {
  max-inline-size: 94vw; width: min(74rem, 94vw); max-block-size: 94dvh; overflow: auto; box-sizing: border-box;
  background: #152c31; color: #fff; border: 0; border-radius: 16px; padding: clamp(8px, 2vw, 20px);
}
.wl-hotel-lightbox::backdrop { background: #102521ed; }
.wl-hotel-lightbox img { display: block; width: 100%; height: auto; max-height: 72dvh; object-fit: contain; }
.wl-hotel-lightbox nav { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-top: 8px; }
.wl-hotel-lightbox button { min-block-size: 44px; padding-inline: 12px; cursor: pointer; }
.wl-hotel-lightbox form { display: flex; justify-content: end; margin-bottom: 8px; }

.wl-hotel-profile h2 { margin: 0 0 14px; font-size: clamp(1.5rem, 2.55vw, 2.3rem); line-height: 1.16; letter-spacing: -.025em; }
.wl-hotel-section { margin-block-start: clamp(26px, 4vw, 58px); scroll-margin-block-start: 160px; }
.wl-hotel-overview { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 24px 48px; }
.wl-hotel-overview p, .wl-hotel-profile article p, .wl-hotel-book p { max-width: 65ch; line-height: 1.65; }
.wl-hotel-overview p { margin: 0 0 12px; }
.wl-hotel-map { display: inline-flex; min-block-size: 44px; align-items: center; color: var(--hotel-green); font-weight: 700; }
.wl-hotel-facts { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 14px; margin: 0; padding: 10px 18px; background: var(--hotel-paper); border-radius: 16px; }
.wl-hotel-facts > div { padding-block: 10px; border-block-end: 1px solid var(--hotel-line); }
.wl-hotel-facts > div:last-child { border: 0; }
.wl-hotel-facts dt { display: flex; gap: 8px; align-items: center; font-size: .87rem; color: #4d6661; }
.wl-hotel-facts dd { margin-block: 4px 0; margin-inline: 0; font-weight: 700; }
.wl-hotel-facts svg { flex: 0 0 20px; width: 20px; height: 20px; stroke: var(--hotel-green); stroke-width: 1.5; fill: none; }
.wl-hotel-stories, .wl-hotel-similar { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 14px; }
.wl-hotel-stories article, .wl-hotel-similar a { background: var(--hotel-paper); border-radius: 16px; }
.wl-hotel-stories article { padding: 18px; }
.wl-hotel-stories h3 { font-size: 1.1rem; margin: 0 0 6px; }
.wl-hotel-stories p { margin: 0; }
.wl-hotel-similar a { display: block; color: inherit; text-decoration: none; overflow: hidden; }
.wl-hotel-similar img { display: block; width: 100%; aspect-ratio: 16/10; height: auto; object-fit: cover; }
.wl-hotel-similar strong { display: block; padding: 14px; }
.wl-hotel-amenities { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0; list-style: none; }
.wl-hotel-amenities li { position: relative; list-style: none; }
.wl-amenity-toggle summary { display: block; position: relative; width: 50px; height: 50px; box-sizing: border-box; padding: 0; border: 1px solid #e2e6e7; border-radius: 13px; background: #f2f4f5; color: #235553; cursor: pointer; list-style: none; }
.wl-amenity-toggle summary::-webkit-details-marker { display: none; }
.wl-amenity-toggle summary::marker { content: ''; }
.wl-amenity-toggle summary :is(svg) { position: absolute; inset: 0; margin: auto !important; display: block; width: 25px; height: 25px; transform: none; fill: none; stroke: currentColor; stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round; }
.wl-amenity-tip { position: absolute; z-index: 5; inset-block-end: calc(100% + 5px); inset-inline-start: 50%; translate: -50% 0; width: max-content; max-width: 125px; padding: 7px 9px; border-radius: 7px; color: #fff; background: var(--hotel-ink); font-size: .8rem; line-height: 1.3; text-align: center; overflow-wrap: anywhere; visibility: hidden; opacity: 0; pointer-events: none; }
[dir="rtl"] .wl-amenity-tip { translate: 50% 0; }
.wl-amenity-toggle[open] + .wl-amenity-tip, .wl-hotel-amenities li:is(:hover,:focus-within) .wl-amenity-tip { visibility: visible; opacity: 1; }
.wl-hotel-amenities li:is(:hover,:focus-within) summary, .wl-amenity-toggle[open] summary { background: #e6ebed; border-color: #aabec0; color: #006b68; }
.wl-amenity-toggle summary:focus-visible, .wl-hotel-room-more summary:focus-visible { outline: 2px solid var(--hotel-green); outline-offset: 3px; }
.wl-hotel-room-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: clamp(12px, 2vw, 24px); padding: clamp(12px, 2.4vw, 28px); background: var(--hotel-paper); border-radius: 18px; }
.wl-hotel-room { min-width: 0; padding: clamp(14px, 2vw, 25px); border: 1px solid var(--hotel-line); border-radius: 13px; background: #fff; }
.wl-hotel-room h3 { margin: 0 0 12px; font-size: 1.18rem; }
.wl-hotel-room-body { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 10px 18px; }
.wl-hotel-room-body p { margin: 0 0 10px; }
.wl-hotel-room-meta { display: grid; gap: 8px; margin: 0; }
.wl-hotel-room-meta dt { color: #4d6661; font-size: .86rem; }
.wl-hotel-room-meta dd { margin: 0; font-weight: 650; }
.wl-hotel-room-features { padding-inline-start: 1.1rem; margin: 0; color: #405954; line-height: 1.55; overflow-wrap: anywhere; }
.wl-hotel-room-photo { display: block; padding: 0; border: 0; background: var(--hotel-paper); width: 100%; overflow: hidden; border-radius: 10px; cursor: pointer; margin-block-end: 14px; }
.wl-hotel-room-photo img { display: block; width: 100%; height: auto; aspect-ratio: 16/9; object-fit: cover; }
.wl-hotel-room-more { display: inline-flex; align-items: center; margin-top: 12px; min-height: 44px; padding-inline: 13px; gap: 8px; border: 1px solid var(--hotel-line); border-radius: 8px; color: var(--hotel-green); background: var(--hotel-paper); font-weight: 700; cursor: pointer; }
.wl-hotel-room-more::after { content: '+'; }
.wl-hotel-room-dialog { position: fixed; width: min(850px, calc(100% - 24px)); max-width: none; max-height: 90dvh; overflow: auto; overscroll-behavior: contain; box-sizing: border-box; padding: clamp(14px, 3vw, 28px); border: 1px solid var(--hotel-line); border-radius: 16px; background: #fff; color: var(--hotel-ink); }
.wl-hotel-room-dialog::backdrop { background: #102521d9; }
.wl-hotel-room-dialog-head { display: flex; align-items: start; justify-content: space-between; gap: 12px; }
.wl-hotel-room-dialog-head form { margin: 0; }
.wl-hotel-room-dialog-head button { min-height: 44px; padding-inline: 12px; border: 1px solid var(--hotel-line); border-radius: 8px; color: var(--hotel-green); background: var(--hotel-paper); cursor: pointer; }
.wl-hotel-room-dialog-photos { display: grid; grid-template-columns: repeat(auto-fit,minmax(min(100%,15rem),1fr)); gap: 8px; margin-block: 0 16px; }
.wl-hotel-room-dialog-photos img { width: 100%; height: auto; aspect-ratio: 16/10; object-fit: cover; border-radius: 8px; }
.wl-hotel-room-dialog .wl-hotel-room-meta { grid-template-columns: repeat(2,minmax(0,1fr)); margin-block: 12px; }
.wl-hotel-room-dialog > .wl-hotel-room-features { margin-block: 9px 14px; }
.wl-hotel-book { padding: clamp(18px, 4vw, 38px); background: #e5f0eb; border-radius: 18px; }

@media (max-width: 760px) {
  .wl-hotel-intro { flex-wrap: wrap; align-items: start; }
  .wl-hotel-overview { grid-template-columns: minmax(0, 1fr); }
  .wl-hotel-mosaic { grid-template: minmax(0, 1fr) / minmax(0, 1fr) !important; block-size: clamp(210px, 38svh, 320px); border-radius: 14px; }
  .wl-hotel-mosaic a:first-child { grid-column: auto; grid-row: auto; }
  .wl-hotel-mosaic a:not(:first-child) { display: none; }
  .wl-hotel-room-grid { grid-template-columns: minmax(0, 1fr); }
  .wl-hotel-amenities { display: grid; grid-template-columns: repeat(5, minmax(0,1fr)); }
  .wl-amenity-toggle summary { width: 100%; }
  .wl-hotel-amenities li:nth-child(5n+1) .wl-amenity-tip { inset-inline-start: 0; translate: none; }
  .wl-hotel-amenities li:nth-child(5n) .wl-amenity-tip { inset-inline-start: auto; inset-inline-end: 0; translate: none; }
}
@media (max-width: 420px) {
  .wl-hotel-room-body { grid-template-columns: minmax(0,1fr); }
  .wl-hotel-room-meta { grid-template-columns: repeat(2,minmax(0,1fr)); }
}

@media (prefers-reduced-motion: reduce) {
  .wl-hotel-profile * { scroll-behavior: auto !important; }
}
