:root {
    --av-ink: #17211d;
    --av-muted: #66706b;
    --av-sea: #176b70;
    --av-sea-dark: #0e5054;
    --av-sun: #d7a94f;
    --av-line: #dfe5e1;
    --av-soft: #f4f7f5;
}

.av-room { color: var(--av-ink); background: #fff; padding-bottom: 96px; }
.av-room__intro { padding: 54px 24px 34px; }
.av-room__intro-inner, .av-room__layout { width: min(1280px, 100%); margin: 0 auto; }
.av-room__intro-inner { display: flex; align-items: end; justify-content: space-between; gap: 36px; }
.av-room__eyebrow { margin: 0 0 9px; color: var(--av-sea); font-size: 12px; font-weight: 700; text-transform: uppercase; }
.av-room h1 { margin: 0; color: var(--av-ink); font-size: clamp(42px, 5vw, 72px); line-height: 1.02; letter-spacing: 0; }
.av-room__lead { max-width: 720px; margin: 16px 0 0; color: var(--av-muted); font-size: 18px; }
.av-room__rate { flex: none; padding-bottom: 7px; color: var(--av-muted); }
.av-room__rate strong { margin: 0 5px; color: var(--av-ink); font-size: 30px; font-weight: 600; }

.av-room-gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, minmax(210px, 33vh)); gap: 6px; width: min(1520px, calc(100% - 32px)); margin: 0 auto; overflow: hidden; border-radius: 6px; }
.av-room-gallery__item { position: relative; min-width: 0; padding: 0; overflow: hidden; border: 0; background: #dde4df; cursor: zoom-in; }
.av-room-gallery__item--1 { grid-row: 1 / 3; }
.av-room-gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s ease; }
.av-room-gallery__item:hover img { transform: scale(1.025); }
.av-room-gallery__count { position: absolute; right: 18px; bottom: 18px; padding: 10px 14px; border-radius: 4px; background: rgba(255,255,255,.94); color: var(--av-ink); font-size: 13px; font-weight: 700; }

.av-room__layout { display: grid; grid-template-columns: minmax(0, 1fr) 390px; gap: 70px; padding: 64px 24px 0; align-items: start; }
.av-room-facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; margin: 0 0 52px; padding: 0 0 34px; border-bottom: 1px solid var(--av-line); list-style: none; }
.av-room-facts li { display: flex; align-items: center; gap: 11px; min-width: 0; font-size: 14px; font-weight: 600; }
.av-room-facts i { color: var(--av-sea); font-size: 19px; }
.av-room__copy h2, .av-room__detail-section h2, .av-room__detail-section h3 { color: var(--av-ink); letter-spacing: 0; }
.av-room__copy h2 { margin: 0 0 22px; font-size: 34px; }
.av-room__copy { color: #46504b; font-size: 17px; line-height: 1.8; }
.av-room__copy .elementor { margin: 0 -10px; }
.av-room__detail-section { margin-top: 54px; padding-top: 40px; border-top: 1px solid var(--av-line); }

.av-room__booking { position: sticky; top: 110px; }
.av-room__booking-card { border: 1px solid var(--av-line); border-radius: 6px; background: #fff; box-shadow: 0 18px 55px rgba(23,33,29,.1); overflow: hidden; }
.av-room__booking-heading { padding: 25px 28px 20px; border-bottom: 1px solid var(--av-line); background: var(--av-soft); }
.av-room__booking-heading > div { display: flex; align-items: baseline; gap: 5px; color: var(--av-muted); font-size: 13px; }
.av-room__booking-heading strong { color: var(--av-ink); font-size: 27px; }
.av-room__booking-heading h2 { margin: 7px 0 0; color: var(--av-ink); font-size: 20px; letter-spacing: 0; }
.av-room__booking-card .eshb-booking-form { margin: 0; padding: 25px 28px 28px; box-shadow: none; }
.av-room__booking-card input, .av-room__booking-card select { border-color: var(--av-line) !important; }
.av-room__booking-card button[type="submit"], .av-room__booking-card .eshb-booking-form-submit-btn { width: 100%; border-radius: 3px !important; background: var(--av-sea) !important; color: #fff !important; }
.av-room__booking-card button[type="submit"]:hover, .av-room__booking-card .eshb-booking-form-submit-btn:hover { background: var(--av-sea-dark) !important; }
.av-room__mobile-book { display: none; }

.av-room-lightbox { width: 100vw; max-width: none; height: 100vh; max-height: none; margin: 0; padding: 0; border: 0; background: #101412; color: #fff; }
.av-room-lightbox::backdrop { background: #101412; }
.av-room-lightbox[open] { display: grid; place-items: center; }
.av-room-lightbox figure { display: grid; place-items: center; width: calc(100% - 160px); height: calc(100% - 80px); margin: 0; }
.av-room-lightbox figure img { max-width: 100%; max-height: calc(100vh - 120px); object-fit: contain; }
.av-room-lightbox figcaption { position: absolute; bottom: 22px; color: #dfe5e1; font-size: 13px; }
.av-room-lightbox__close, .av-room-lightbox__nav { position: absolute; z-index: 2; border: 0; background: transparent; color: #fff; cursor: pointer; }
.av-room-lightbox__close { top: 18px; right: 24px; width: 44px; height: 44px; font-size: 38px; }
.av-room-lightbox__nav { top: 50%; width: 64px; height: 80px; margin-top: -40px; font-size: 58px; }
.av-room-lightbox__nav--prev { left: 10px; }
.av-room-lightbox__nav--next { right: 10px; }
.av-lightbox-open { overflow: hidden; }

@media (max-width: 1024px) {
    .av-room__layout { grid-template-columns: minmax(0, 1fr) 340px; gap: 34px; }
    .av-room-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 767px) {
    .av-room { padding-bottom: 88px; }
    .av-room__intro { padding: 34px 18px 22px; }
    .av-room__intro-inner { display: block; }
    .av-room h1 { font-size: 42px; }
    .av-room__lead { font-size: 16px; }
    .av-room__rate { margin-top: 18px; }
    .av-room-gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 54vw 32vw; width: 100%; gap: 3px; border-radius: 0; }
    .av-room-gallery__item--1 { grid-column: 1 / 3; grid-row: auto; }
    .av-room-gallery__item--4, .av-room-gallery__item--5 { display: none; }
    .av-room-gallery__count { right: 10px; bottom: 10px; }
    .av-room__layout { display: block; padding: 40px 18px 0; }
    .av-room-facts { grid-template-columns: 1fr 1fr; margin-bottom: 36px; padding-bottom: 28px; }
    .av-room__copy h2 { font-size: 29px; }
    .av-room__booking { position: static; margin-top: 46px; }
    .av-room__mobile-book { position: fixed; z-index: 50; right: 12px; bottom: 12px; left: 12px; display: flex; align-items: center; justify-content: space-between; min-height: 58px; padding: 13px 18px; border-radius: 5px; background: var(--av-sea); box-shadow: 0 8px 30px rgba(0,0,0,.2); color: #fff; font-weight: 700; }
    .av-room__mobile-book:hover { color: #fff; }
    .av-room-lightbox figure { width: calc(100% - 48px); height: calc(100% - 80px); }
    .av-room-lightbox__nav { width: 42px; }
}
