/* ==========================================================================
   STAYORA PROPERTY DETAIL VIEW â€” WARM LIMESTONE EDITORIAL FOLIO
   Silky GPU-Composited Motion Â· Newsreader + Instrument Sans + IBM Plex Mono
   ========================================================================== */

html {
    scroll-behavior: auto;
}

body:has(.show-page) {
    background-color: #fafaf9;
}

.show-page {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 16px 88px;
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #1f1b16;
    -webkit-font-smoothing: antialiased;
}

.show-breadcrumb {
    margin-bottom: 18px;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 500;
    color: #4a433a;
    background-color: #f4f4f2;
    border: 1px solid rgba(31, 27, 22, 0.12);
    padding: 7px 14px;
    border-radius: 8px;
    text-decoration: none;
    transition:
        background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.back-link:active {
    transform: scale(0.97);
}

@keyframes showPageRise {
    from {
        opacity: 0;
        transform: translate3d(0, 12px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.show-header {
    margin-bottom: 22px;
}

.show-title-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
}

.show-title-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.show-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(28px, 3.8vw, 42px);
    font-weight: 400;
    letter-spacing: -0.024em;
    line-height: 1.08;
    text-wrap: balance;
    color: #1f1b16;
    margin: 0;
}

.show-type-badge {
    display: inline-flex;
    align-items: center;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11.5px;
    font-weight: 500;
    text-transform: capitalize;
    letter-spacing: 0.01em;
    color: #1b4d7e;
    background-color: rgba(27, 77, 126, 0.08);
    border: 1px solid rgba(27, 77, 126, 0.18);
    padding: 4px 10px;
    border-radius: 6px;
}

.show-meta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    font-size: 14.5px;
    color: #1f1b16;
}

.show-rating-summary {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background-color: #ffffff;
    border: 1px solid rgba(31, 27, 22, 0.1);
    padding: 5px 12px;
    border-radius: 8px;
    font-variant-numeric: tabular-nums;
}

.meta-muted {
    color: #7b7266;
}

.meta-dot {
    color: rgba(31, 27, 22, 0.28);
}

.show-location-text {
    color: #5e554a;
    font-weight: 500;
}

.star-filled {
    color: #b45309;
    font-size: 14.5px;
    line-height: 1;
}

.star-empty {
    color: rgba(31, 27, 22, 0.2);
    font-size: 14.5px;
    line-height: 1;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.show-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 10px;
    background-color: #ffffff;
    border: 1px solid rgba(31, 27, 22, 0.1);
    border-radius: 18px;
    box-shadow: 0 2px 10px rgba(31, 27, 22, 0.04);
    overflow: hidden;
    margin-bottom: 28px;
}

.gallery-main {
    position: relative;
    width: 100%;
    height: 270px;
    min-height: 0;
    min-width: 0;
    border-radius: 12px;
    background-color: #f4f4f2;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-side {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    min-height: 0;
    min-width: 0;
}

.gallery-side-item {
    position: relative;
    width: 100%;
    height: 142px;
    min-height: 0;
    min-width: 0;
    border-radius: 10px;
    background-color: #f4f4f2;
    overflow: hidden;
    cursor: zoom-in;
}

.gallery-view-all-btn {
    position: absolute;
    right: 20px;
    bottom: 20px;
    z-index: 5;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 8px;
    background-color: rgba(20, 18, 15, 0.9);
    border: 1px solid rgba(235, 217, 180, 0.28);
    box-shadow: 0 6px 18px rgba(10, 8, 6, 0.26);
    color: #f4eee2;
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition:
        background-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-view-all-btn svg {
    width: 14px;
    height: 14px;
    color: #d7bd8f;
}

.gallery-view-all-btn:active {
    transform: scale(0.96);
}

.gallery-side:has(> .gallery-side-item:only-child) > .gallery-side-item:only-child {
    grid-column: 1 / -1;
    height: 186px;
}

.gallery-side:has(> .gallery-side-item:nth-child(3):last-child) > .gallery-side-item:nth-child(3) {
    grid-column: 1 / -1;
    height: 168px;
}

.gallery-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.gallery-main::after,
.gallery-side-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 58%, rgba(20, 17, 15, 0.24) 100%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.36s cubic-bezier(0.22, 1, 0.36, 1);
}

/* ==========================================================================
   MAIN DETAILS & SIDEBAR
   ========================================================================== */

.show-main-grid {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    gap: 22px;
    align-items: start;
    margin-bottom: 22px;
}

.show-details-col {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 0;
}

.show-sidebar-col {
    min-width: 0;
}

.show-host-bar,
.show-section {
    background-color: #ffffff;
    border: 1px solid rgba(31, 27, 22, 0.1);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 1px 2px rgba(31, 27, 22, 0.04);
    scroll-margin-top: 88px;
}

.show-page > .show-section {
    margin-bottom: 20px;
}

.show-page > .show-section:last-child {
    margin-bottom: 0;
}

.host-info-left {
    display: flex;
    align-items: center;
    gap: 16px;
}

.host-avatar-wrap {
    position: relative;
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.host-avatar-img,
.host-avatar-fallback {
    width: 60px;
    height: 60px;
    border-radius: 9999px;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 8px 20px -4px rgba(15, 23, 42, 0.16);
}

.host-avatar-img {
    display: block;
    object-fit: cover;
    object-position: center 20%;
    background-color: #f4f4f2;
}

.host-avatar-fallback {
    background: linear-gradient(145deg, #2b2926 0%, #171512 100%);
    color: #ffffff;
    font-family: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: -0.02em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.host-avatar-seal {
    position: absolute;
    right: -2px;
    bottom: -2px;
    width: 22px;
    height: 22px;
    border-radius: 9999px;
    background-color: #1b4d7e;
    color: #ffffff;
    border: 2.5px solid #ffffff;
    box-shadow: 0 2px 8px rgba(27, 77, 126, 0.32);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.host-avatar-seal svg {
    width: 11px;
    height: 11px;
}

.host-name-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-bottom: 4px;
}

.host-heading {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: -0.015em;
    margin: 0;
    color: #1f1b16;
}

.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 500;
    color: #15803d;
    background-color: rgba(21, 128, 61, 0.09);
    border: 1px solid rgba(21, 128, 61, 0.2);
    padding: 3px 9px;
    border-radius: 6px;
}

.host-submeta {
    margin: 0;
    font-size: 14px;
    color: #5e554a;
}

.section-heading {
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(22px, 2.6vw, 26px);
    font-weight: 400;
    letter-spacing: -0.016em;
    color: #1f1b16;
    margin: 0 0 16px;
    line-height: 1.2;
}

.section-header-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header-row .section-heading {
    margin-bottom: 0;
}

.section-count {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 500;
    color: #5e554a;
    background-color: #f4f4f2;
    border: 1px solid rgba(31, 27, 22, 0.1);
    padding: 5px 12px;
    border-radius: 6px;
}

.show-description {
    font-size: 15.5px;
    line-height: 1.72;
    color: #4a433a;
    margin: 0;
}

.empty-muted {
    font-size: 14.5px;
    color: #7b7266;
    margin: 0;
}

.amenities-grid {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(195px, 1fr));
    gap: 10px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 500;
    color: #1f1b16;
    background-color: #fafaf9;
    border: 1px solid rgba(31, 27, 22, 0.08);
    padding: 10px 13px;
    border-radius: 10px;
    transition:
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.amenity-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background-color: rgba(27, 77, 126, 0.1);
    color: #1b4d7e;
    font-size: 11px;
    font-weight: 700;
    flex-shrink: 0;
    transition:
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.policies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(175px, 1fr));
    gap: 12px;
}

.policy-card {
    background-color: #fafaf9;
    border: 1px solid rgba(31, 27, 22, 0.08);
    border-radius: 12px;
    padding: 15px 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.policy-label {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11.5px;
    font-weight: 500;
    color: #7b7266;
}

.policy-value {
    font-size: 14.5px;
    font-weight: 600;
    line-height: 1.45;
    color: #1f1b16;
}

/* Sticky Booking Summary Card */
.show-page .booking-summary-card {
    background-color: #ffffff;
    border: 1px solid rgba(31, 27, 22, 0.12);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 2px 10px rgba(31, 27, 22, 0.05);
}

@media (min-width: 992px) {
    .show-page .booking-summary-card {
        position: sticky;
        top: 84px;
    }
}

.summary-price-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 16px;
}

.summary-from {
    display: block;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11.5px;
    font-weight: 500;
    color: #7b7266;
    margin-bottom: 4px;
}

.summary-price {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 32px;
    font-weight: 400;
    letter-spacing: -0.02em;
    font-variant-numeric: tabular-nums;
    color: #1f1b16;
    line-height: 1.08;
}

.summary-night {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #5e554a;
}

.summary-rating-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #1f1b16;
    background-color: #fafaf9;
    border: 1px solid rgba(31, 27, 22, 0.1);
    padding: 6px 11px;
    border-radius: 8px;
}

.summary-status-row {
    margin-bottom: 18px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 500;
    padding: 5px 11px;
    border-radius: 6px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.status-available {
    color: #15803d;
    background-color: rgba(21, 128, 61, 0.09);
    border: 1px solid rgba(21, 128, 61, 0.2);
}

.status-available .status-dot {
    background-color: #15803d;
}

.status-reserved {
    color: #9a6700;
    background-color: rgba(154, 103, 0, 0.1);
    border: 1px solid rgba(154, 103, 0, 0.22);
}

.status-reserved .status-dot {
    background-color: #9a6700;
}

.status-unavailable {
    color: #b91c1c;
    background-color: rgba(185, 28, 28, 0.09);
    border: 1px solid rgba(185, 28, 28, 0.2);
}

.status-unavailable .status-dot {
    background-color: #b91c1c;
}

.summary-facts {
    border-top: 1px solid rgba(31, 27, 22, 0.09);
    border-bottom: 1px solid rgba(31, 27, 22, 0.09);
    padding: 15px 0;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.summary-fact-item {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    font-size: 14px;
}

.fact-label {
    color: #7b7266;
}

.fact-val {
    font-weight: 600;
    color: #1f1b16;
    text-align: right;
}

.summary-cta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 46px;
    background-color: #1b4d7e;
    border: 1px solid #1b4d7e;
    color: #ffffff;
    font-size: 15px;
    font-weight: 500;
    padding: 11px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition:
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.summary-cta-btn:active {
    transform: scale(0.98);
}

.summary-note {
    margin: 12px 0 0;
    font-size: 12.5px;
    text-align: center;
    color: #7b7266;
}

/* ==========================================================================
   ROOMS LIST
   ========================================================================== */

.rooms-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.room-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    background-color: #fafaf9;
    border: 1px solid rgba(31, 27, 22, 0.1);
    border-radius: 14px;
    padding: 16px;
    contain: layout style;
    transition:
        transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.room-media {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.room-main-img {
    width: 100%;
    height: 215px;
    object-fit: cover;
    border-radius: 10px;
    display: block;
    background-color: #f4f4f2;
    cursor: zoom-in;
    transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.room-thumbs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(72px, 1fr));
    gap: 8px;
}

.room-thumb-img {
    width: 100%;
    height: 64px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
    background-color: #f4f4f2;
    cursor: zoom-in;
    transition: transform 0.26s cubic-bezier(0.22, 1, 0.36, 1), filter 0.22s ease;
}

.room-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    min-width: 0;
}

.room-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
}

.room-title {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 22px;
    font-weight: 400;
    letter-spacing: -0.014em;
    color: #1f1b16;
    margin: 0 0 4px;
}

.room-meta {
    margin: 0;
    font-size: 13.5px;
    color: #5e554a;
}

.room-meta strong {
    color: #1f1b16;
}

.room-price-box {
    text-align: right;
    background-color: #ffffff;
    border: 1px solid rgba(31, 27, 22, 0.1);
    border-radius: 10px;
    padding: 8px 14px;
}

.room-price {
    display: block;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 24px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: #1f1b16;
    line-height: 1.15;
}

.room-per-night {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    color: #7b7266;
}

.room-description {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.65;
    color: #4a433a;
}

.room-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.room-amenity-chip {
    font-size: 12.5px;
    font-weight: 500;
    color: #4a433a;
    background-color: #f4f4f2;
    border: 1px solid rgba(31, 27, 22, 0.08);
    padding: 4px 10px;
    border-radius: 6px;
}

.room-actions {
    display: flex;
    justify-content: flex-end;
    padding-top: 12px;
    border-top: 1px solid rgba(31, 27, 22, 0.08);
}

.room-book-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    background-color: #1b4d7e;
    border: 1px solid #1b4d7e;
    color: #ffffff;
    font-size: 14.5px;
    font-weight: 500;
    padding: 10px 22px;
    border-radius: 8px;
    text-decoration: none;
    transition:
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.room-book-btn:active {
    transform: scale(0.97);
}

.room-book-disabled {
    background-color: #f4f4f2;
    border-color: rgba(31, 27, 22, 0.12);
    color: #7b7266;
    cursor: not-allowed;
}

/* ==========================================================================
   LOCATION & REVIEWS
   ========================================================================== */

.location-card {
    background-color: #fafaf9;
    border: 1px solid rgba(31, 27, 22, 0.09);
    border-radius: 12px;
    padding: 18px 20px;
}

.location-main {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
    color: #1f1b16;
}

.location-sub {
    margin: 0;
    font-size: 14px;
    color: #5e554a;
}

.reviews-big-score {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.reviews-big-score .star-filled {
    font-size: 20px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.review-card {
    background-color: #fafaf9;
    border: 1px solid rgba(31, 27, 22, 0.09);
    border-radius: 12px;
    padding: 20px;
    transition:
        transform 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        background-color 0.24s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.review-user-row {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.reviewer-avatar-img,
.reviewer-avatar-fallback {
    width: 44px;
    height: 44px;
    border-radius: 9999px;
    flex-shrink: 0;
    border: 2px solid #ffffff;
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 4px 12px -2px rgba(15, 23, 42, 0.1);
}

.reviewer-avatar-img {
    display: block;
    object-fit: cover;
    object-position: center 20%;
    background-color: #f4f4f2;
}

.reviewer-avatar-fallback {
    background-color: #edf3f8;
    color: #1b4d7e;
    font-family: "Instrument Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 16px;
    font-weight: 600;
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    justify-content: center;
}

.reviewer-name {
    margin: 0 0 3px;
    font-size: 15px;
    font-weight: 600;
    color: #1f1b16;
}

.review-stars {
    display: flex;
    align-items: center;
    gap: 2px;
}

.review-rating-num {
    margin-left: 6px;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: #7b7266;
}

.review-comment {
    margin: 0;
    font-size: 14.5px;
    line-height: 1.66;
    color: #4a433a;
}

/* ==========================================================================
   FULLSCREEN LIGHTBOX (SILKY CROSSFADE + WARM OBSIDIAN)
   ========================================================================== */

body.lightbox-open {
    overflow: hidden;
}

.stayora-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2500;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: rgba(16, 13, 11, 0.96);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
        opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0.28s;
}

.stayora-lightbox.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition:
        opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1),
        visibility 0s linear 0s;
}

.stayora-lb-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px 22px 10px;
    flex-shrink: 0;
}

.stayora-lb-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}

.stayora-lb-counter {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12.5px;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    color: #f4eee2;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(235, 217, 180, 0.22);
    padding: 5px 12px;
    border-radius: 8px;
    white-space: nowrap;
}

.stayora-lb-caption {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 17px;
    font-weight: 400;
    color: rgba(244, 238, 226, 0.86);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.stayora-lb-close {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    border: 1px solid rgba(235, 217, 180, 0.24);
    background-color: rgba(255, 255, 255, 0.08);
    color: #f4eee2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    flex-shrink: 0;
    transition:
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.stayora-lb-close svg {
    width: 18px;
    height: 18px;
}

.stayora-lb-close:active {
    transform: scale(0.94);
}

.stayora-lb-stage {
    position: relative;
    flex: 1;
    min-height: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
}

.stayora-lb-figure {
    margin: 0;
    max-width: min(1120px, 88vw);
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stayora-lb-img {
    max-width: 100%;
    max-height: calc(100vh - 188px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 14px;
    box-shadow: 0 32px 80px rgba(0, 0, 0, 0.6);
    transform: translate3d(0, 0, 0) scale(0.965);
    opacity: 0;
    transition:
        transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.stayora-lightbox.is-open .stayora-lb-img {
    transform: translate3d(0, 0, 0) scale(1);
    opacity: 1;
}

.stayora-lightbox.is-open .stayora-lb-img.is-swapping {
    opacity: 0.22;
    transform: translate3d(0, 0, 0) scale(0.985);
    transition-duration: 0.12s;
}

.stayora-lb-nav {
    position: absolute;
    top: 50%;
    transform: translate3d(0, -50%, 0);
    z-index: 4;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    border: 1px solid rgba(235, 217, 180, 0.24);
    background-color: rgba(22, 18, 15, 0.9);
    color: #f4eee2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.36);
    transition:
        background-color 0.2s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.22s cubic-bezier(0.22, 1, 0.36, 1);
}

.stayora-lb-nav[hidden] {
    display: none;
}

.stayora-lb-nav svg {
    width: 20px;
    height: 20px;
}

.stayora-lb-prev {
    left: 20px;
}

.stayora-lb-next {
    right: 20px;
}

.stayora-lb-nav:active {
    transform: translate3d(0, -50%, 0) scale(0.94);
}

.stayora-lb-strip {
    display: flex;
    align-items: center;
    justify-content: safe center;
    gap: 10px;
    padding: 10px 22px 20px;
    overflow-x: auto;
    scrollbar-width: none;
    flex-shrink: 0;
}

.stayora-lb-strip[hidden] {
    display: none;
}

.stayora-lb-strip::-webkit-scrollbar {
    display: none;
}

.stayora-lb-thumb {
    width: 64px;
    height: 46px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: 8px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    flex-shrink: 0;
    opacity: 0.55;
    transition:
        opacity 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.22s cubic-bezier(0.22, 1, 0.36, 1),
        transform 0.24s cubic-bezier(0.22, 1, 0.36, 1);
}

.stayora-lb-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.stayora-lb-thumb.is-active {
    opacity: 1;
    border-color: #d7bd8f;
    transform: scale(1.05);
    box-shadow: 0 4px 16px rgba(215, 189, 143, 0.32);
}

/* ==========================================================================
   MOBILE STICKY BOOK BAR
   ========================================================================== */

.mobile-sticky-book-bar {
    position: fixed;
    left: 14px;
    right: 14px;
    bottom: max(14px, env(safe-area-inset-bottom));
    z-index: 900;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 12px 14px 12px 16px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid rgba(31, 27, 22, 0.14);
    box-shadow: 0 16px 38px -8px rgba(31, 27, 22, 0.22);
    opacity: 0;
    pointer-events: none;
    transform: translate3d(0, 120%, 0);
    transition:
        transform 0.4s cubic-bezier(0.22, 1, 0.36, 1),
        opacity 0.28s cubic-bezier(0.22, 1, 0.36, 1);
}

.mobile-sticky-book-bar.is-visible {
    opacity: 1;
    pointer-events: auto;
    transform: translate3d(0, 0, 0);
}

.mobile-sticky-price {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.mobile-sticky-from {
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 10.5px;
    font-weight: 500;
    color: #7b7266;
}

.mobile-sticky-price strong {
    font-family: 'Newsreader', Georgia, serif;
    font-size: 21px;
    font-weight: 400;
    font-variant-numeric: tabular-nums;
    color: #1f1b16;
}

.mobile-sticky-price strong span {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 12.5px;
    font-weight: 400;
    color: #5e554a;
}

.mobile-sticky-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 18px;
    border-radius: 8px;
    background-color: #1b4d7e;
    color: #ffffff;
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    white-space: nowrap;
    transition: transform 0.18s cubic-bezier(0.22, 1, 0.36, 1), background-color 0.18s ease;
}

.mobile-sticky-cta:active {
    transform: scale(0.96);
}

/* ==========================================================================
   SIMILAR STAYS SECTION
   ========================================================================== */

.similar-stays-section {
    margin-top: 36px;
}

.similar-stays-head {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
}

.similar-stays-eyebrow {
    display: block;
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 12px;
    font-weight: 500;
    color: #1b4d7e;
    margin-bottom: 4px;
}

.similar-stays-heading {
    margin: 0;
    font-family: 'Newsreader', Georgia, serif;
    font-size: clamp(24px, 3vw, 32px);
    font-weight: 400;
    line-height: 1.14;
    letter-spacing: -0.018em;
    color: #1f1b16;
}

.similar-stays-all-link {
    font-family: 'Instrument Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 14.5px;
    font-weight: 500;
    color: #1b4d7e;
    text-decoration: none;
    white-space: nowrap;
}

.similar-stays-grid {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    padding-bottom: 4px;
}

.similar-stays-grid::-webkit-scrollbar {
    display: none;
}

.similar-stay-card {
    flex: 0 0 80%;
    scroll-snap-align: start;
    background-color: #ffffff;
    border: 1px solid rgba(31, 27, 22, 0.1);
    border-radius: 16px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 2px rgba(31, 27, 22, 0.04);
    contain: layout style;
    transition:
        transform 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.26s cubic-bezier(0.22, 1, 0.36, 1),
        border-color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.similar-stay-card:active {
    transform: scale(0.985);
}

.similar-stay-media {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background-color: #f4f4f2;
}

.similar-stay-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: translate3d(0, 0, 0) scale(1);
    transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
}

.similar-stay-type {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    border-radius: 7px;
    background-color: rgba(20, 18, 15, 0.84);
    border: 1px solid rgba(235, 217, 180, 0.22);
    font-family: 'IBM Plex Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
    font-size: 11px;
    font-weight: 500;
    text-transform: capitalize;
    color: #f4eee2;
}

.similar-stay-body {
    padding: 16px 18px 18px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.similar-stay-top-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-bottom: 5px;
}

.similar-stay-loc {
    margin: 0;
    font-size: 13.5px;
    color: #5e554a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.similar-stay-rating {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 13.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #1f1b16;
    white-space: nowrap;
}

.similar-stay-title {
    margin: 0 0 12px;
    font-family: 'Newsreader', Georgia, serif;
    font-size: 19px;
    font-weight: 400;
    line-height: 1.24;
    color: #1f1b16;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.similar-stay-title-link {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.similar-stay-footer {
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid rgba(31, 27, 22, 0.08);
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 8px;
}

.similar-stay-price {
    margin: 0;
    font-size: 16.5px;
    font-weight: 600;
    font-variant-numeric: tabular-nums;
    color: #1f1b16;
}

.similar-stay-price span {
    font-size: 12.5px;
    font-weight: 400;
    color: #7b7266;
}

.similar-stay-link {
    font-size: 13.5px;
    font-weight: 500;
    color: #1b4d7e;
    text-decoration: none;
    white-space: nowrap;
}

/* ==========================================================================
   FINE-POINTER HOVER MOTION
   ========================================================================== */

@media (hover: hover) and (pointer: fine) {
    .back-link:hover {
        background-color: #eaeae6;
        border-color: rgba(31, 27, 22, 0.22);
        color: #1f1b16;
        transform: translate3d(-2px, 0, 0);
    }

    .gallery-view-all-btn:hover {
        background-color: #161310;
        border-color: rgba(235, 217, 180, 0.48);
        transform: translate3d(0, -1.5px, 0);
    }

    .gallery-main:hover::after,
    .gallery-side-item:hover::after {
        opacity: 1;
    }

    .gallery-main:hover .gallery-img,
    .gallery-side-item:hover .gallery-img {
        transform: translate3d(0, 0, 0) scale(1.045);
    }

    .amenity-item:hover {
        background-color: #f4f4f2;
        border-color: rgba(27, 77, 126, 0.2);
        transform: translate3d(0, -1px, 0);
    }

    .amenity-item:hover .amenity-check {
        background-color: #1b4d7e;
        color: #ffffff;
    }

    .summary-cta-btn:hover,
    .room-book-btn:not(.room-book-disabled):hover {
        background-color: #153e66;
        border-color: #153e66;
        transform: translate3d(0, -1px, 0);
    }

    .room-card:hover {
        background-color: #ffffff;
        transform: translate3d(0, -3px, 0);
        border-color: rgba(27, 77, 126, 0.22);
        box-shadow: 0 14px 32px -14px rgba(31, 27, 22, 0.12);
    }

    .room-main-img:hover {
        transform: translate3d(0, 0, 0) scale(1.025);
    }

    .room-thumb-img:hover {
        transform: scale(1.03);
    }

    .review-card:hover {
        background-color: #ffffff;
        border-color: rgba(31, 27, 22, 0.16);
        transform: translate3d(0, -2px, 0);
        box-shadow: 0 12px 28px -12px rgba(31, 27, 22, 0.08);
    }

    .stayora-lb-close:hover {
        background-color: rgba(255, 255, 255, 0.18);
        transform: scale(1.05);
    }

    .stayora-lb-nav:hover {
        background-color: rgba(235, 217, 180, 0.22);
        transform: translate3d(0, -50%, 0) scale(1.06);
    }

    .stayora-lb-thumb:hover {
        opacity: 0.9;
    }

    .similar-stays-all-link:hover,
    .similar-stay-link:hover {
        text-decoration: underline;
        text-underline-offset: 3px;
    }

    .similar-stay-card:hover {
        transform: translate3d(0, -4px, 0);
        border-color: rgba(27, 77, 126, 0.24);
        box-shadow: 0 14px 32px -12px rgba(31, 27, 22, 0.12);
    }

    .similar-stay-card:hover .similar-stay-img {
        transform: translate3d(0, 0, 0) scale(1.05);
    }

    .similar-stay-card:hover .similar-stay-title-link {
        color: #1b4d7e;
    }
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */

@media (max-width: 639px) {
    .stayora-lb-prev {
        left: 10px;
    }

    .stayora-lb-next {
        right: 10px;
    }

    .stayora-lb-nav {
        width: 40px;
        height: 40px;
    }

    .stayora-lb-img {
        max-height: calc(100vh - 170px);
        border-radius: 10px;
    }
}

@media (min-width: 640px) {
    .similar-stays-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        overflow-x: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .similar-stay-card {
        flex: initial;
    }
}

@media (min-width: 768px) {
    .show-page {
        padding: 34px 28px 96px;
    }

    .show-host-bar,
    .show-section {
        padding: 28px 30px;
    }

    .show-gallery {
        grid-template-columns: 1.32fr 1fr;
        grid-template-rows: minmax(0, 1fr);
        height: 460px;
    }

    .show-gallery:not(:has(.gallery-side)) {
        grid-template-columns: 1fr;
        height: 480px;
    }

    .gallery-main,
    .gallery-side {
        height: 100%;
    }

    .gallery-side {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .gallery-side-item {
        height: 100%;
    }

    .gallery-side:has(> .gallery-side-item:only-child) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: minmax(0, 1fr);
    }

    .gallery-side:has(> .gallery-side-item:only-child) > .gallery-side-item:only-child {
        height: 100%;
    }

    .gallery-side:has(> .gallery-side-item:nth-child(2):last-child) {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .gallery-side:has(> .gallery-side-item:nth-child(3):last-child) {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        grid-template-rows: repeat(2, minmax(0, 1fr));
    }

    .gallery-side:has(> .gallery-side-item:nth-child(3):last-child) > .gallery-side-item:nth-child(3) {
        grid-column: 1 / -1;
        height: 100%;
    }

    .room-card {
        grid-template-columns: 320px 1fr;
        padding: 20px;
    }

    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 992px) {
    .show-main-grid {
        grid-template-columns: 1.65fr 1fr;
        gap: 26px;
    }

    .mobile-sticky-book-bar {
        display: none;
    }
}

@media (min-width: 1024px) {
    .similar-stays-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .show-header,
    .show-gallery {
        animation: none;
    }

    .gallery-img,
    .room-card,
    .similar-stay-card,
    .stayora-lb-img {
        transition-duration: 0.01ms !important;
    }
}
