/**
 * Hayha Booking - Property Detail Stylesheet
 * Exact Forensic Convergence: Modern Village Lifestyle - Xuan Huong Lakeside
 * Blueprint: .ai-workflow/reference/mvillage/property-detail-exact-v2.md
 * State Matrix: .ai-workflow/reference/mvillage/property-detail-state-matrix-v2.json
 * Viewports: Desktop 1440px (1240px container) | Mobile 390px
 */

/* -------------------------------------------------------------------------
   0. Base Typography & Scoped Layout (.hayha-booking-wrap)
   ------------------------------------------------------------------------- */


/* Scoped custom property for dynamic live header offset */
:root {
    --hayha-live-header-offset: 0px;
}

.hayha-property-detail-page {
    font-family: inherit;
    color: var(--hayha-theme-text);
    background-color: var(--hayha-theme-page);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    padding-bottom: 80px;
}

.hayha-property-detail-page *,
.hayha-property-detail-page *::before,
.hayha-property-detail-page *::after {
    box-sizing: border-box;
}

/* Scoped theme button reset against Flatsome theme cascade */
.hayha-booking-wrap button:not(.hayha-property-policy-link),
.hayha-booking-wrap .button,
.hayha-booking-wrap .hayha-criteria-field,
.hayha-booking-wrap .hayha-search-field,
.hayha-booking-wrap .hayha-search-button--desktop,
.hayha-booking-wrap .hayha-criteria-apply-btn,
.hayha-booking-wrap .hayha-room-rates-toggle-btn,
.hayha-booking-wrap .hayha-btn-select-room,
.hayha-booking-wrap .hayha-stepper-btn,
.hayha-booking-wrap .hayha-gallery-badge-btn,
.hayha-booking-wrap .hayha-lightbox__btn,
.hayha-booking-wrap .hayha-lightbox__nav,
.hayha-booking-wrap .hayha-sheet-close-btn,
.hayha-booking-wrap .hayha-sheet-btn {
    margin: 0 !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    line-height: 1.3 !important;
}

.hayha-container {
    max-width: var(--theme-normal-container-max-width, 1290px);
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
    width: 100%;
}

/* -------------------------------------------------------------------------
   1. Breadcrumbs
   ------------------------------------------------------------------------- */
.hayha-breadcrumbs {
    padding-top: 14px;
    padding-bottom: 12px;
}

.hayha-breadcrumb-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 13px;
    color: var(--hayha-theme-muted);
}

.hayha-breadcrumb-item {
    display: inline-flex;
    align-items: center;
}

.hayha-breadcrumb-item a {
    color: var(--hayha-theme-muted);
    text-decoration: none;
    transition: color 0.15s ease;
}

.hayha-breadcrumb-item a:hover {
    color: var(--hayha-theme-hover);
}

.hayha-breadcrumb-sep {
    display: inline-flex;
    align-items: center;
    margin-left: 8px;
    margin-right: 8px;
    color: var(--hayha-theme-muted);
}

.hayha-breadcrumb-item--active span {
    color: var(--hayha-theme-text);
    font-weight: 500;
}

/* -------------------------------------------------------------------------
   2. Hero Photo Gallery (Desktop 5-Photo Bento Grid / Mobile Full-Width)
   ------------------------------------------------------------------------- */
.hayha-hero-gallery {
    margin-bottom: 20px;
}

/* DESKTOP 5-PHOTO BENTO GRID (619px main + 4x 306x203 tiles, gap 8px, 410px height) */
.hayha-gallery-desktop {
    display: grid;
    grid-template-columns: 619px 1fr;
    gap: 8px;
    height: 410px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.hayha-gallery-desktop__main {
    height: 410px;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.hayha-gallery-desktop__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 8px;
    height: 410px;
    position: relative;
}

.hayha-gallery-desktop__item {
    position: relative;
    overflow: hidden;
    height: 201px;
    border-radius: 4px;
    cursor: pointer;
}

.hayha-gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hayha-gallery-desktop__main:hover .hayha-gallery-img,
.hayha-gallery-desktop__item:hover .hayha-gallery-img {
    transform: scale(1.03);
}

/* Compact media count, anchored inside the final gallery tile. */
.hayha-gallery-badge-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    width: auto;
    min-width: 64px;
    height: 32px;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    color: var(--hayha-theme-contrast);
    border: none;
    border-radius: 16px;
    padding: 4px 10px;
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.2s ease;
}

.hayha-gallery-badge-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.hayha-badge-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.hayha-gallery-badge-btn .hayha-badge-icon {
    filter: brightness(0) invert(1);
}

/* MOBILE CAROUSEL (< 768px) */
.hayha-gallery-mobile {
    display: none;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
    height: 260px;
}

.hayha-carousel-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    height: 260px;
}

.hayha-carousel-track::-webkit-scrollbar {
    display: none;
}

.hayha-carousel-slide {
    flex: 0 0 100%;
    scroll-snap-align: start;
    height: 260px;
    cursor: pointer;
}

.hayha-carousel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hayha-carousel-dots {
    position: absolute;
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 5;
}

.hayha-carousel-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.55);
    transition: all 0.2s ease;
}

.hayha-carousel-dot--active {
    background: var(--hayha-theme-accent);
    width: 16px;
    border-radius: 9999px;
}

.hayha-gallery-badge-btn--mobile {
    position: absolute;
    bottom: 12px;
    right: 16px;
    width: auto;
    height: 32px;
    font-size: 14px;
    padding: 4px 10px;
}

/* -------------------------------------------------------------------------
   3. Detail Anchor Navigation Tab Bar (Sticky directly below header, z-index: 99, height ≈ 45px)
   ------------------------------------------------------------------------- */
.hayha-subnav {
    background: var(--hayha-theme-surface);
    border-bottom: 1px solid var(--hayha-theme-border);
    position: sticky;
    top: var(--hayha-live-header-offset, 0px);
    z-index: 99;
    height: 45px;
    margin-bottom: 28px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
}

.hayha-subnav-list {
    display: flex;
    gap: 32px;
    align-items: center;
    height: 45px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.hayha-subnav-item {
    margin: 0;
    padding: 0;
    height: 45px;
    display: inline-flex;
    align-items: center;
}

.hayha-subnav-link {
    display: inline-flex;
    align-items: center;
    height: 45px;
    font-size: 16px;
    font-weight: 500;
    color: var(--hayha-theme-text);
    text-decoration: none;
    position: relative;
    white-space: nowrap;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all 0.15s ease;
}

.hayha-subnav-link:hover {
    color: var(--hayha-theme-accent);
}

.hayha-subnav-link--active {
    color: var(--hayha-theme-accent);
    font-weight: 600;
    border-bottom: 2px solid var(--hayha-theme-accent);
}

/* Anchor offset follows the measured header, tabs and criteria stack. */
#hayha-section-overview,
#hayha-room-types,
#hayha-section-nearby {
    scroll-margin-top: var(--hayha-anchor-offset, calc(var(--hayha-live-header-offset, 0px) + 57px));
}

/* -------------------------------------------------------------------------
   4. Property Overview Section (Two-Column Layout)
   ------------------------------------------------------------------------- */
.hayha-overview-section {
    margin-bottom: 40px;
}

.hayha-overview-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    gap: 48px;
    align-items: start;
}

.hayha-overview-right {
    width: 100%;
    max-width: 360px;
    justify-self: end;
}

.hayha-prop-title {
    font-size: 48px;
    font-weight: 600;
    line-height: 56px;
    color: var(--hayha-theme-heading);
    margin: 0 0 16px;
}

.hayha-mobile-address-card {
    display: none;
}

.hayha-overview-body {
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--hayha-theme-text);
    margin-bottom: 16px;
}

.hayha-overview-body p {
    margin-top: 0;
    margin-bottom: 12px;
}

.hayha-btn-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: transparent;
    border: none;
    color: var(--hayha-theme-accent);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    padding: 0;
    margin-bottom: 24px;
}

.hayha-sub-heading {
    font-size: 20px;
    font-weight: 600;
    color: var(--hayha-theme-heading);
    margin: 28px 0 16px;
}

/* Property-Level Amenities Grid (Distinct System: 2-column icon + label) */
.hayha-property-amenities-section {
    margin-top: 24px;
    border-top: 1px solid var(--hayha-theme-border);
    padding-top: 20px;
}

.hayha-property-amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 32px;
}

.hayha-property-amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hayha-property-amenity-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.hayha-property-amenity-label {
    font-size: 14px;
    font-weight: 400;
    color: var(--hayha-theme-muted);
}

/* Right Column (Desktop Side Card) - Unboxed, seamless container matching sample */
.hayha-side-card {
    background: transparent;
    border: none;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    width: 100%;
}

.hayha-side-map-box {
    position: relative;
    width: 100%;
    height: 192px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 0;
    background: var(--hayha-theme-soft);
}

.hayha-side-map-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}

.hayha-side-map-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
    transition: transform 0.5s ease-in-out;
}

.hayha-side-map-link:hover .hayha-side-map-img {
    transform: scale(1.08);
}

.hayha-side-map-overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    pointer-events: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    padding: 12px;
}

.hayha-side-map-chip {
    pointer-events: auto;
    background: var(--hayha-theme-surface);
    color: var(--hayha-theme-text);
    border-radius: 9999px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: transform 0.15s ease, box-shadow 0.15s ease, color 0.15s ease;
}

.hayha-side-map-chip svg {
    color: var(--hayha-theme-accent);
    flex-shrink: 0;
}

.hayha-side-map-chip:hover {
    transform: translateY(-1px) scale(1.02);
    color: var(--hayha-theme-hover);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.hayha-side-address-text {
    font-size: 16px;
    font-weight: 400;
    color: var(--hayha-theme-muted);
    line-height: 24px;
    margin: 0;
    padding-top: 10px;
    padding-bottom: 0;
    word-break: break-word;
}

.hayha-side-attractions {
    margin: 0;
    padding: 0;
}

.hayha-side-attractions-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--hayha-theme-heading);
    line-height: 28px;
    padding-top: 16px;
    padding-bottom: 8px;
    margin: 0;
}

.hayha-side-attractions-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hayha-side-attraction-item {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    gap: 8px;
    width: 100%;
    padding: 0;
    border-bottom: none !important;
    line-height: 24px;
}

.hayha-attraction-name {
    font-size: 16px;
    font-weight: 400;
    color: var(--hayha-theme-text);
    line-height: 24px;
    max-width: 78%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.hayha-attraction-dist {
    font-size: 16px;
    font-weight: 400;
    color: var(--hayha-theme-text);
    line-height: 24px;
    text-align: right;
    white-space: nowrap;
    flex-shrink: 0;
}

/* -------------------------------------------------------------------------
   5. Sticky Criteria Search Bar (Joins under tabs at top: 44px, height ≈ 76px, z-index: 102)
   ------------------------------------------------------------------------- */
.hayha-rooms-section {
    margin-bottom: 40px;
}

.hayha-rooms-header {
    margin-bottom: 32px;
}

.hayha-property-detail-page .hayha-section-title {
    font-size: 36px;
    font-weight: 500;
    line-height: 44px;
    color: var(--hayha-theme-heading);
    margin: 0;
}

@media(max-width:768px){
    .hayha-property-detail-page .hayha-section-title{font-size:18px;line-height:26px;font-weight:600}
    .hayha-rooms-header{margin-bottom:16px}
}

.hayha-criteria-bar-wrap {
    position: sticky;
    top: calc(var(--hayha-live-header-offset, 0px) + 45px);
    z-index: 98;
    height: 76px;
    background: var(--hayha-theme-surface);
    margin-bottom: 24px;
}

.hayha-criteria-bar-form {
    position: relative;
    width: 100%;
    height: 100%;
}

.hayha-criteria-bar-wrap .hayha-filter-header__inner,
.hayha-criteria-bar-wrap .hayha-criteria-bar-inner {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    align-items: center;
    position: relative;
    height: 76px;
    box-sizing: border-box;
}

/* Reusing /tim-phong/ Search component anatomy (No Location field) */
.hayha-criteria-bar-wrap .hayha-search-form--desktop,
.hayha-criteria-bar {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 76px;
    background: var(--hayha-theme-surface);
    border-radius: 12px;
    border: 0;
    box-shadow: rgba(16, 25, 40, 0.05) 0px 5px 13px -5px;
    padding: 0 16px;
    box-sizing: border-box;
}

.hayha-criteria-bar__fields {
    display: flex;
    align-items: center;
    flex: 1;
    height: 100%;
}

.hayha-criteria-bar-wrap .hayha-search-field,
.hayha-criteria-field {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 56px;
    padding: 0 20px;
    cursor: pointer;
    background: transparent;
    border: none;
    text-align: left;
    outline: none;
    border-radius: 8px;
    transition: background-color 0.15s ease;
    box-sizing: border-box;
    margin: 0;
}

.hayha-criteria-bar-wrap .hayha-search-field:hover,
.hayha-criteria-bar-wrap .hayha-search-field--active,
.hayha-criteria-field:hover,
.hayha-criteria-field--active {
    background-color: var(--hayha-theme-surface);
}

.hayha-criteria-bar-wrap .hayha-search-field--date {
    width: 310px;
    flex: 0 0 310px;
}

.hayha-criteria-field--date-in {
    width: 280px;
}

.hayha-criteria-field--date-out {
    width: 280px;
}

.hayha-criteria-bar-wrap .hayha-search-field--guests,
.hayha-criteria-field--guests {
    flex: 1 1 auto;
    width: auto;
}

.hayha-criteria-bar-wrap .hayha-search-field__label,
.hayha-criteria-field__label {
    font-size: 12px;
    font-weight: 500;
    line-height: 16px;
    color: var(--hayha-theme-accent);
    margin-bottom: 2px;
}

.hayha-criteria-bar-wrap .hayha-search-field--date:nth-of-type(2) .hayha-search-field__label,
.hayha-criteria-field--date-out .hayha-criteria-field__label {
    color: var(--hayha-theme-muted);
}

.hayha-criteria-bar-wrap .hayha-search-field__value,
.hayha-criteria-field__value {
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: var(--hayha-theme-text);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hayha-criteria-bar-wrap .hayha-search-field-divider,
.hayha-criteria-divider {
    width: 1px;
    height: 32px;
    background-color: var(--hayha-theme-soft);
    flex-shrink: 0;
    margin: 0 6px;
    border: none;
}

.hayha-criteria-bar-wrap .hayha-search-action,
.hayha-criteria-bar__action {
    margin-left: auto;
    flex-shrink: 0;
    display: flex;
    align-items: center;
}

.hayha-criteria-bar-wrap .hayha-search-button--desktop,
.hayha-criteria-apply-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 44px !important;
    min-width: 106px !important;
    border-radius: 9999px !important;
    border: 1px solid var(--hayha-theme-accent) !important;
    background: var(--hayha-theme-surface) !important;
    color: var(--hayha-theme-accent) !important;
    font-size: 15px !important;
    font-weight: 500 !important;
    padding: 0 24px !important;
    box-shadow: 0 6px 14px -4px color-mix(in srgb, var(--hayha-theme-accent) 35%, transparent) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: all 0.2s ease !important;
}

.hayha-criteria-bar-wrap .hayha-search-button--desktop:hover,
.hayha-criteria-apply-btn:hover {
    background: var(--hayha-theme-accent) !important;
    color: var(--hayha-theme-contrast) !important;
    box-shadow: 0 4px 12px color-mix(in srgb, var(--hayha-theme-accent) 25%, transparent) !important;
}

.hayha-criteria-bar-mobile {
    display: none;
}

/* -------------------------------------------------------------------------
   6. Criteria Search Modals (Reusing /tim-phong/ Search component system)
   ------------------------------------------------------------------------- */
.hayha-criteria-bar-inner {
    position: relative;
}

.hayha-criteria-bar-wrap .hayha-date-modal {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    z-index: 110;
}

.hayha-criteria-bar-wrap .hayha-guest-popover {
    position: absolute;
    top: calc(100% + 8px);
    left: auto;
    right: 140px;
    z-index: 110;
}

.hayha-modal-backdrop {
    position: fixed;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: 105;
    transition: opacity 0.2s ease;
}

.hayha-modal-backdrop[hidden] {
    display: none !important;
}

.hayha-criteria-bar-wrap.has-open-modal {
    z-index: 110;
}


/* -------------------------------------------------------------------------
   7. Room Cards & Exact Forensic Price DOM
   ------------------------------------------------------------------------- */
.hayha-room-cards-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.hayha-room-card {
    width: 100%;
    max-width: 100%;
    background: var(--hayha-theme-surface);
    border-radius: 16px;
    box-shadow: 0 5px 13px -5px rgba(16, 25, 40, 0.05);
    padding: 24px;
    border: 1px solid #ececec;
    transition: box-shadow 0.2s ease;
}

.hayha-room-card:hover {
    box-shadow: 0 10px 20px -5px rgba(16, 25, 40, 0.08);
}

.hayha-room-card__grid {
    display: grid;
    grid-template-columns: 290px 1fr 220px;
    gap: 24px;
    align-items: start;
}

/* Column 1: Carousel Image (290px × 216px, rounded-2xl) */
.hayha-room-card__media {
    width: 290px;
    height: 216px;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    cursor: pointer;
    background: var(--hayha-theme-soft);
}

.hayha-room-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.hayha-room-card__media:hover .hayha-room-card__img {
    transform: scale(1.03);
}

.hayha-room-card__dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 2;
}

.hayha-room-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
}

.hayha-room-dot--active {
    background: var(--hayha-theme-accent);
    width: 14px;
    border-radius: 9999px;
}

.hayha-room-carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border: none;
    background: transparent;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
    margin: 0;
    line-height: 1;
    font-size: 0;
    z-index: 10;
    box-shadow: none;
    box-sizing: border-box;
}

.hayha-room-card__media:hover .hayha-room-carousel-btn {
    display: flex;
}

.hayha-room-carousel-btn--prev {
    left: 20px;
}

.hayha-room-carousel-btn--next {
    right: 20px;
}

.hayha-room-carousel-btn svg {
    display: block;
    width: 36px;
    height: 36px;
    pointer-events: none;
}

/* Column 2: Center Details & Features (602px) */
.hayha-room-card__info {
    display: flex;
    flex-direction: column;
    min-height: 216px;
}

.hayha-room-card__title {
    font-size: 18px;
    font-weight: 600;
    line-height: 26px;
    color: var(--hayha-theme-heading);
    margin: 0 0 10px;
}

.hayha-room-meta-row {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.hayha-room-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--hayha-theme-text);
}

.hayha-meta-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    vertical-align: middle;
    filter: invert(41%) sepia(88%) saturate(1630%) hue-rotate(352deg) brightness(94%) contrast(92%);
}

.hayha-room-desc {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--hayha-theme-text);
    margin: 0 0 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Room Features: Distinct 2-column icon + label grid */
.hayha-room-features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-bottom: 12px;
    max-width: 400px;
}

.hayha-room-feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hayha-feature-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.hayha-room-feature-item span {
    font-size: 14px;
    color: var(--hayha-theme-muted);
}

.hayha-room-detail-wrap {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-start;
    padding-top: 12px;
}

.hayha-room-detail-link {
    color: var(--hayha-theme-accent);
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    line-height: 20px;
    transition: color 0.15s ease, text-decoration 0.15s ease;
}

.hayha-room-detail-link:hover {
    text-decoration: underline;
    color: var(--hayha-theme-hover);
}

/* Column 3: Desktop Right Price Block (Exact Forensic Hierarchy) */
.hayha-room-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    min-height: 216px;
    text-align: right;
}

.hayha-room-price-group {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    margin-bottom: 48px; /* Exact mb-12 (48px) spacing before CTA when no scarcity */
}

.hayha-room-price-group--has-scarcity,
.hayha-room-price-col:has(.hayha-room-scarcity) .hayha-room-price-group {
    margin-bottom: 8px; /* Compact gap before scarcity block */
}

/* Line 1: Numeric Amount on own row */
.hayha-room-price-line1 {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.hayha-price-numeric-amount {
    font-size: 24px;
    font-weight: 600;
    line-height: 32px;
    color: var(--hayha-theme-accent);
}

/* Line 2: Currency + Unit on separate line below amount, right-aligned */
.hayha-price-unit-line2 {
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--hayha-theme-muted);
    margin-top: 2px;
}

/* Action Area Wrapper: aligns scarcity and CTA button */
.hayha-room-action-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: auto;
}

/* Toggle Action Button: height 44px, rounded-full, solid primary */
.hayha-room-rates-toggle-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 44px;
    padding: 0 24px;
    border-radius: 9999px;
    background: var(--hayha-theme-accent);
    color: var(--hayha-theme-contrast);
    font-size: 16px;
    font-weight: 500;
    border: 1px solid var(--hayha-theme-accent);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.hayha-room-rates-toggle-btn:hover {
    box-shadow: 0 4px 12px color-mix(in srgb, var(--hayha-theme-accent) 30%, transparent);
}

.hayha-room-rates-toggle-btn--active {
    background: var(--hayha-theme-surface) !important;
    color: var(--hayha-theme-accent) !important;
    border-color: var(--hayha-theme-accent) !important;
}

.hayha-room-rates-toggle-btn--active .hayha-toggle-icon {
    display: none !important;
}

.hayha-room-rates-toggle-btn--active .hayha-toggle-icon path {
    fill: var(--hayha-theme-accent);
}

/* Single-rate direct select CTA (no plus icon, same pill geometry) */
.hayha-room-select-direct-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 24px;
    border-radius: 9999px;
    background: var(--hayha-theme-accent);
    color: var(--hayha-theme-contrast);
    font-size: 16px;
    font-weight: 500;
    border: 1px solid var(--hayha-theme-accent);
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.hayha-room-select-direct-btn:hover {
    box-shadow: 0 4px 12px color-mix(in srgb, var(--hayha-theme-accent) 30%, transparent);
    background: var(--hayha-theme-hover);
    border-color: var(--hayha-theme-hover);
}

.hayha-room-unavailable-box {
    font-size: 14px;
    color: #6B7280;
    font-weight: 500;
    padding: 8px 12px;
    text-align: right;
}

/* Sold-Out Action Control (Reference Parity: Large Action-Sized Control) */
.hayha-room-soldout-wrap,
.hayha-soldout-badge-wrap {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 100%;
    margin-top: auto;
}

.hayha-btn-soldout,
.hayha-soldout-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 42px;
    padding: 6px 10px;
    white-space: nowrap;
    flex-shrink: 0;
    border-radius: 8px;
    background: #FEEFEF !important;
    border: 1px solid #D70D00 !important;
    color: #D70D00 !important;
    font-size: 14px;
    font-weight: 600;
    line-height: 20px;
    cursor: not-allowed;
    white-space: nowrap;
    box-sizing: border-box;
}

.hayha-btn-soldout:disabled,
.hayha-soldout-badge[disabled] {
    opacity: 1 !important;
    background: #FEEFEF !important;
    border: 1px solid #D70D00 !important;
    color: #D70D00 !important;
    filter: none !important;
    box-shadow: none !important;
    transform: none !important;
    transition: none;
    font-size: 14px !important;
    pointer-events: none;
}

.hayha-btn-soldout:disabled > * {
    opacity: 1 !important;
    filter: none !important;
    color: inherit !important;
}

.hayha-soldout-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    display: inline-block;
    vertical-align: middle;
    opacity: 1 !important;
}

/* Scarcity Labels: Centered relative to CTA */
.hayha-room-scarcity {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 500;
    line-height: 18px;
    color: #D70D00;
    margin-bottom: 8px;
    text-align: center;
    width: 100%;
    white-space: nowrap;
}

.hayha-room-scarcity--last-room {
    font-weight: 600;
}

.hayha-scarcity-icon {
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

/* Mobile Room Price Block (< 768px) */
.hayha-room-price-col-mobile {
    display: none;
}

/* -------------------------------------------------------------------------
   8. Expanded RatePlans Grid (Nested Inside Same RoomType Card)
   ------------------------------------------------------------------------- */
.hayha-room-card__rates {
    border-top: 1px solid var(--hayha-theme-border);
    margin-top: 24px;
    padding-top: 24px;
}

.hayha-room-card__rates[hidden] {
    display: none !important;
}

.hayha-rate-plans-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.hayha-rate-card {
    background: var(--hayha-theme-surface);
    border: 1px solid var(--hayha-theme-border);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 180px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hayha-rate-card:hover {
    border-color: var(--hayha-theme-border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
}

.hayha-rate-card__top {
    margin-bottom: 12px;
}

.hayha-rate-card__title {
    font-size: 17px;
    font-weight: 600;
    line-height: 24px;
    color: var(--hayha-theme-heading);
    margin: 0;
}

.hayha-rate-card__bottom {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-top: auto;
    padding-top: 12px;
}

.hayha-rate-card__price-box {
    display: flex;
    flex-direction: column;
}

.hayha-rate-card__amount-row {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.hayha-rate-card__amount {
    font-size: 22px;
    font-weight: 700;
    line-height: 28px;
    color: var(--hayha-theme-accent);
}

.hayha-rate-card__currency {
    font-size: 14px;
    font-weight: 400;
    color: var(--hayha-theme-text);
}

.hayha-rate-card__price-unavailable {
    font-size: 14px;
    font-style: italic;
    color: #6B7280;
}

.hayha-btn-select-room {
    height: 40px;
    padding: 0 24px;
    border-radius: 9999px;
    background: var(--hayha-theme-accent);
    color: var(--hayha-theme-contrast);
    font-size: 15px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.15s ease, transform 0.1s ease, box-shadow 0.15s ease;
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hayha-btn-select-room:hover:not(:disabled) {
    background: var(--hayha-theme-hover);
    box-shadow: 0 4px 12px color-mix(in srgb, var(--hayha-theme-accent) 25%, transparent);
    transform: scale(1.02);
}

.hayha-btn-select-room:active:not(:disabled) {
    transform: scale(0.98);
}

.hayha-btn-select-room--disabled {
    background: var(--hayha-theme-soft) !important;
    color: var(--hayha-theme-muted) !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: none !important;
}

.hayha-breakdown-toggle {
    background: transparent;
    border: none;
    color: var(--hayha-theme-muted);
    font-size: 12px;
    cursor: pointer;
    padding: 6px 0;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 8px;
}

.hayha-nightly-breakdown {
    background: var(--hayha-theme-surface);
    border-radius: 8px;
    padding: 10px 14px;
    margin-top: 8px;
}

.hayha-nightly-breakdown[hidden] {
    display: none !important;
}

.hayha-breakdown-list {
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 12px;
}

.hayha-breakdown-item {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
}

/* -------------------------------------------------------------------------
   9. Reference-Style Nearby Area Section
   ------------------------------------------------------------------------- */
.hayha-nearby-section {
    margin-bottom: 48px;
}

.hayha-nearby-card {
    background: var(--hayha-theme-surface);
    border: 0;
    border-radius: 20px;
    padding: 28px 24px;
    box-shadow: none;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 48px;
    align-items: stretch;
}

/* Left Column: Contextual Heading & Local Editorial */
.hayha-nearby-left {
    display: flex;
    flex-direction: column;
}

.hayha-nearby-heading {
    font-size: 26px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--hayha-theme-heading);
    margin: 0 0 16px;
}

.hayha-nearby-editorial-content {
    font: inherit;
    color: var(--hayha-theme-muted);
}

.hayha-nearby-editorial-content p {
    margin: 0 0 12px;
}

.hayha-nearby-guide-wrap {
    margin-top: 12px;
}

.hayha-nearby-guide-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--hayha-theme-accent);
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
}

.hayha-nearby-guide-link:hover {
    color: var(--hayha-theme-hover);
    text-decoration: underline;
}

.hayha-nearby-guide-arrow {
    font-size: 18px;
    transition: transform 0.2s ease;
}

.hayha-nearby-guide-link:hover .hayha-nearby-guide-arrow {
    transform: translateX(4px);
}

/* Right Column: Surrounding POIs Grid */
.hayha-nearby-right {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.hayha-nearby-pois-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}

.hayha-nearby-pin-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hayha-theme-heading);
}

.hayha-nearby-pois-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--hayha-theme-heading);
    margin: 0;
}

.hayha-nearby-pois-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 8px 32px;
}

.hayha-nearby-poi-item {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 2px 0;
    border-bottom: 0;
}

.hayha-nearby-poi-name {
    font: inherit;
    color: var(--hayha-theme-text);
    word-break: break-word;
}

.hayha-nearby-poi-distance {
    font: inherit;
    color: var(--hayha-theme-muted);
    white-space: nowrap;
}

.hayha-poi-item--hidden {
    display: none !important;
}

.hayha-nearby-toggle-wrap {
    margin-top: auto;
    padding-top: 24px;
    text-align: right;
}

.hayha-nearby-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 0;
    background: transparent;
    border: none;
    font-size: 14px;
    font-weight: 500;
    color: var(--hayha-theme-accent);
    cursor: pointer;
    text-decoration: none;
    transition: color 0.2s ease;
}

.hayha-nearby-toggle-btn:hover {
    color: var(--hayha-theme-hover);
}

.hayha-nearby-toggle-icon {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    transition: transform 0.2s ease;
}

.hayha-nearby-toggle-btn[aria-expanded="true"] .hayha-nearby-toggle-icon {
    transform: rotate(180deg);
}

@media (max-width: 900px) {
    .hayha-nearby-card {
        grid-template-columns: 1fr;
        gap: 32px;
        padding: 24px 20px;
        border-radius: 16px;
    }

    .hayha-nearby-pois-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

/* -------------------------------------------------------------------------
   10. Mobile Bottom Sheets (Date & Guest drawers, z-index: 9999)
   ------------------------------------------------------------------------- */
body.hayha-modal-locked {
    overflow: hidden !important;
}

body.hayha-modal-locked #button-contact-vr,
body.hayha-modal-locked .phone-vr,
body.hayha-modal-locked [id*="button-contact"] {
    display: none !important;
}

.hayha-mobile-sheet {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    width: 100vw !important;
    height: 100% !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: none !important;
    z-index: 9999999 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: stretch !important;
    background: var(--hayha-theme-surface) !important;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    overflow: hidden !important;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hayha-mobile-sheet.hayha-sheet--open {
    pointer-events: auto !important;
    opacity: 1 !important;
    visibility: visible !important;
    max-height: none !important;
    height: 100dvh !important;
    z-index: 9999999 !important;
}

.hayha-mobile-sheet[hidden] {
    display: none !important;
}

.hayha-sheet-backdrop {
    display: none !important;
}

.hayha-sheet-panel {
    position: relative !important;
    z-index: 10 !important;
    background: var(--hayha-theme-surface) !important;
    border-radius: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    max-height: none !important;
    display: flex !important;
    flex-direction: column !important;
    box-shadow: none !important;
    transform: none !important;
    overflow: hidden !important;
}

.hayha-mobile-sheet.hayha-sheet--open .hayha-sheet-panel {
    transform: none !important;
}

.hayha-sheet-handle-bar {
    width: 100%;
    padding: 12px 0 4px;
    display: flex;
    justify-content: center;
    touch-action: none;
    flex-shrink: 0;
}

.hayha-sheet-handle-pill {
    width: 44px;
    height: 4px;
    border-radius: 4px;
    background: var(--hayha-theme-soft);
}

.hayha-sheet-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px 14px;
    position: relative;
    border-bottom: 1px solid var(--hayha-theme-border);
    flex-shrink: 0;
}

.hayha-sheet-header--center {
    justify-content: center;
}

.hayha-sheet-header--center .hayha-sheet-close-btn {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
}

.hayha-sheet-title {
    font-size: 20px;
    font-weight: 600;
    color: var(--hayha-theme-heading);
    line-height: 1.3;
}

.hayha-sheet-close-btn {
    background: transparent;
    border: none;
    color: var(--hayha-theme-text);
    cursor: pointer;
    padding: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Date Bottom Sheet */
.hayha-mobile-cal-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    padding: 8px 16px;
    background: var(--hayha-theme-surface);
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid var(--hayha-theme-border);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.02);
    flex-shrink: 0;
}

.hayha-mobile-cal-weekdays span {
    text-align: center;
    font-size: 13px;
    font-weight: 500;
    color: var(--hayha-theme-muted);
}

.hayha-mobile-cal-scroll {
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 16px 20px;
    background: var(--hayha-theme-surface);
}

.hayha-mobile-month-block,
.hayha-mobile-cal-month-block {
    margin-bottom: 24px;
}

.hayha-mobile-month-title,
.hayha-mobile-cal-month-title {
    text-align: center;
    font-size: 18px;
    font-weight: 600;
    color: var(--hayha-theme-heading);
    margin-bottom: 12px;
}

.hayha-mobile-month-grid,
.hayha-mobile-cal-month-grid {
    display: grid !important;
    grid-template-columns: repeat(7, 1fr) !important;
    row-gap: 6px;
    width: 100%;
}

.hayha-mobile-day-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    position: relative;
}

.hayha-mobile-date-panel {
    border-radius: 0 !important;
}

.hayha-mobile-day-cell.is-in-range,
.hayha-mobile-day-cell--in-range {
    background: var(--hayha-theme-surface); /* Warm peach/orange tint, NEVER gray! */
}

.hayha-mobile-day-cell.is-range-start,
.hayha-mobile-day-cell--start {
    border-radius: 50% 0 0 50%;
}

.hayha-mobile-day-cell.is-range-end,
.hayha-mobile-day-cell--end {
    border-radius: 0 50% 50% 0;
}

.hayha-mobile-day-cell.is-single-day {
    border-radius: 50%;
}

.hayha-mobile-day-btn {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: none;
    background: transparent;
    font-size: 15px;
    font-weight: 400;
    color: var(--hayha-theme-text);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: background 0.15s ease, color 0.15s ease;
}

.hayha-mobile-day-btn:disabled,
.hayha-mobile-day-btn.is-disabled {
    color: var(--hayha-theme-disabled) !important;
    cursor: default;
    pointer-events: none;
}

.hayha-mobile-day-btn.is-selected,
.hayha-mobile-day-btn--selected {
    background: var(--hayha-theme-accent) !important;
    color: var(--hayha-theme-contrast) !important;
    font-weight: 600;
}

.hayha-mobile-day-btn.is-selected-start::after {
    content: '';
    display: block;
    width: 4px;
    height: 4px;
    background: var(--hayha-theme-surface);
    border-radius: 50%;
    margin-top: 1px;
}

.hayha-mobile-cal-footer {
    padding: 12px 16px 20px;
    border-top: 1px solid var(--hayha-theme-border);
    background: var(--hayha-theme-surface);
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.hayha-mobile-date-summary-card {
    background: var(--hayha-theme-surface);
    border-radius: 12px;
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.hayha-mobile-date-summary-col {
    display: flex;
    flex-direction: column;
}

.hayha-summary-sublabel {
    font-size: 12px;
    color: var(--hayha-theme-muted);
}

.hayha-summary-val-orange {
    font-size: 15px;
    font-weight: 600;
    color: var(--hayha-theme-accent);
}

.hayha-summary-val-dark {
    font-size: 15px;
    font-weight: 600;
    color: var(--hayha-theme-text);
}

.hayha-summary-dash {
    font-size: 16px;
    color: var(--hayha-theme-muted);
}

.hayha-sheet-btn-confirm {
    width: 100%;
    height: 48px;
    border-radius: 9999px;
    background: var(--hayha-theme-accent);
    color: var(--hayha-theme-contrast);
    font-size: 16px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease;
}

.hayha-sheet-btn-confirm:disabled {
    background: var(--hayha-theme-soft);
    cursor: not-allowed;
}

/* Guest Bottom Sheet */
.hayha-mobile-guest-panel .hayha-sheet-body {
    padding: 16px 20px;
    flex: 1 1 auto;
    min-height: 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    background: var(--hayha-theme-surface);
}

.hayha-mobile-guest-footer {
    padding: 14px 16px 24px;
    border-top: 1px solid var(--hayha-theme-border);
    background: var(--hayha-theme-surface);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-shrink: 0;
}

.hayha-guest-reset-link {
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: var(--hayha-theme-text);
    text-decoration: underline;
    text-underline-offset: 2px;
    cursor: pointer;
    padding: 0;
}

.hayha-guest-confirm-btn {
    border: 1px solid var(--hayha-theme-accent);
    background: var(--hayha-theme-surface);
    color: var(--hayha-theme-accent);
    border-radius: 60px;
    padding: 10px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.15s ease;
}

.hayha-guest-confirm-btn:hover {
    background: var(--hayha-theme-hover);
    color: var(--hayha-theme-contrast);
}

.hayha-stepper-count--orange {
    color: var(--hayha-theme-accent) !important;
    font-weight: 700 !important;
    font-size: 18px !important;
}

/* -------------------------------------------------------------------------
   12. Fullscreen Lightbox Modal (Every Audited Control, z-index: 350)
   ------------------------------------------------------------------------- */
.hayha-lightbox {
    position: fixed;
    inset: 0;
    z-index: 999999 !important;
    background: rgba(0, 0, 0, 0.95);
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    font-family: inherit;
}

.hayha-lightbox *,
.hayha-lightbox *::before,
.hayha-lightbox *::after {
    box-sizing: border-box;
}

.hayha-lightbox[hidden] {
    display: none !important;
}

.hayha-lightbox__header {
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    color: var(--hayha-theme-contrast);
    flex-shrink: 0;
}

.hayha-lightbox__counter {
    font-size: 15px;
    font-weight: 500;
    color: var(--hayha-theme-muted);
}

.hayha-lightbox__controls {
    display: flex;
    align-items: center;
    gap: 16px;
}

.hayha-lightbox__btn {
    background: transparent;
    border: none;
    color: var(--hayha-theme-contrast);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.85;
    transition: opacity 0.2s, background 0.2s;
}

.hayha-lightbox__btn:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

.hayha-lightbox__stage {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
    position: relative;
    overflow: hidden;
    min-height: 0;
}

.hayha-lightbox__nav {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: var(--hayha-theme-contrast);
    width: 48px;
    height: 48px;
    border-radius: 9999px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
    z-index: 10;
    flex-shrink: 0;
    padding: 0;
}

.hayha-lightbox__nav svg {
    display: block;
    pointer-events: none;
}

.hayha-lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
}

.hayha-lightbox__img-wrap {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hayha-lightbox__img {
    max-width: 90%;
    max-height: 80vh;
    object-fit: contain;
    border-radius: 4px;
    transition: transform 0.2s ease;
}

.hayha-lightbox__footer {
    height: 84px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.hayha-lightbox__thumbs {
    display: flex;
    gap: 8px;
    overflow-x: auto;
    padding: 6px 0;
    max-width: 100%;
}

.hayha-lightbox__thumb {
    width: 56px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid transparent;
    opacity: 0.55;
    cursor: pointer;
    padding: 0;
    background: transparent;
    flex-shrink: 0;
    transition: all 0.2s;
}

.hayha-lightbox__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hayha-lightbox__thumb:hover {
    opacity: 0.85;
}

.hayha-lightbox__thumb--active {
    border-color: var(--hayha-theme-accent) !important;
    opacity: 1 !important;
}

/* -------------------------------------------------------------------------
   13. Selection Confirmation Modal (z-index: 350)
   ------------------------------------------------------------------------- */
.hayha-modal {
    position: fixed;
    inset: 0;
    z-index: 350;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.hayha-modal[hidden] {
    display: none !important;
}

.hayha-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
}

.hayha-modal__content--compact {
    position: relative;
    background: var(--hayha-theme-surface);
    border-radius: 16px;
    width: 100%;
    max-width: 480px;
    padding: 24px;
    z-index: 2;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15);
}

.hayha-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.hayha-modal__header h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 0;
    color: var(--hayha-theme-heading);
}

.hayha-modal-close {
    background: transparent;
    border: none;
    color: var(--hayha-theme-muted);
    cursor: pointer;
    padding: 4px;
}

.hayha-selection-summary {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hayha-selection-field {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: var(--hayha-theme-text);
}

.hayha-selection-field--price {
    border-top: 1px solid var(--hayha-theme-border);
    padding-top: 10px;
    font-size: 16px;
}

.hayha-price-highlight {
    color: var(--hayha-theme-accent);
    font-size: 20px;
    font-weight: 700;
}

.hayha-selection-note {
    font-size: 13px;
    color: #059669;
    margin: 6px 0 16px;
}

.hayha-selection-actions {
    display: flex;
    gap: 12px;
}

.hayha-btn-proceed {
    flex: 1;
    height: 44px;
    border-radius: 9999px;
    background: var(--hayha-theme-accent);
    color: var(--hayha-theme-contrast);
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
}

.hayha-btn-cancel {
    height: 44px;
    padding: 0 16px;
    border-radius: 9999px;
    background: var(--hayha-theme-soft);
    color: var(--hayha-theme-text);
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
}

/* -------------------------------------------------------------------------
   14. Mobile Breakpoints (< 768px)
   ------------------------------------------------------------------------- */
@media (max-width: 767px) {
    .hayha-property-detail-page {
        padding-bottom: 32px;
    }

    /* Mobile Fullscreen Modals */
    .hayha-mobile-sheet {
        position: fixed !important;
        inset: 0 !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        width: 100vw !important;
        height: 100dvh !important;
        max-height: none !important;
        z-index: 9999999 !important;
        background: var(--hayha-theme-surface) !important;
        overflow: hidden !important;
    }

    .hayha-mobile-sheet .hayha-sheet-panel {
        width: 100% !important;
        height: 100dvh !important;
        max-height: none !important;
        border-radius: 0 !important;
        background: var(--hayha-theme-surface) !important;
    }

    .hayha-container {
        padding-left: 16px;
        padding-right: 16px;
    }

    /* Gallery */
    .hayha-gallery-desktop {
        display: none;
    }

    .hayha-gallery-mobile {
        display: block;
    }

    /* Tabs (Sticky adaptively below mobile header) */
    .hayha-subnav {
        height: 45px;
        top: calc(var(--hayha-search-header-bottom, 0px) + var(--hayha-search-fixed-height, 0px));
        z-index: 99 !important;
    }

    .hayha-subnav-list {
        gap: 20px;
        height: 45px;
    }

    .hayha-subnav-link {
        font-size: 15px;
        height: 45px;
    }

    /* Overview */
    .hayha-overview-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hayha-prop-title {
        font-size: 28px;
        line-height: 36px;
    }

    .hayha-mobile-address-card {
        display: flex;
        align-items: center;
        justify-content: space-between;
        background: var(--hayha-theme-surface);
        border-radius: 12px;
        padding: 12px 14px;
        margin-bottom: 16px;
    }

    .hayha-mobile-address-info {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 13px;
        color: var(--hayha-theme-muted);
    }

    .hayha-mobile-map-btn {
        display: inline-flex;
        align-items: center;
        gap: 4px;
        color: var(--hayha-theme-accent);
        font-size: 13px;
        font-weight: 600;
        text-decoration: none;
    }

    .hayha-overview-right {
        display: none !important;
    }

    /* Mobile Sticky Criteria Bar (adapts below tabs) */
    .hayha-criteria-bar-wrap {
        top: calc(var(--hayha-live-header-offset, 0px) + 45px) !important;
        height: 59px !important;
        z-index: 98 !important;
    }

    .hayha-criteria-bar-wrap .hayha-search-form--desktop:not(.hayha-fixed-criteria),
    .hayha-criteria-bar {
        display: none !important;
    }

    .hayha-criteria-bar-mobile {
        display: block;
        width: 100% !important;
        box-sizing: border-box !important;
    }

    .hayha-criteria-mobile-card {
        display: flex;
        align-items: center;
        width: 100%;
        box-sizing: border-box;
        height: 50px;
        background: var(--hayha-theme-surface);
        border-radius: 12px;
        border: 0;
        box-shadow: 0 5px 13px -5px rgba(16,25,40,0.05);
        padding: 0 14px;
    }

    .hayha-criteria-mobile-btn {
        display: flex;
        align-items: center;
        gap: 8px;
        background: transparent;
        border: none;
        cursor: pointer;
        padding: 0;
        text-align: left;
        -webkit-tap-highlight-color: transparent;
    }

    .hayha-criteria-mobile-btn--date {
        flex: 1 1 auto;
        min-width: 0;
    }

    .hayha-criteria-mobile-btn--guest {
        flex: 0 0 auto;
        justify-content: flex-end;
    }

    .hayha-criteria-icon-wrap {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 20px;
        height: 20px;
        flex-shrink: 0;
        color: var(--hayha-theme-accent);
    }

    .hayha-criteria-icon-wrap svg {
        width: 20px;
        height: 20px;
        display: block;
    }

    .hayha-criteria-mobile-date-text {
        font-size: 13.5px;
        font-weight: 500;
        color: var(--hayha-theme-text);
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .hayha-criteria-guest-text {
        font-size: 13.5px;
        font-weight: 500;
        color: var(--hayha-theme-text);
        white-space: nowrap;
    }

    .hayha-criteria-mobile-divider {
        width: 1px;
        height: 26px;
        background-color: var(--hayha-theme-soft);
        margin: 0 12px;
        flex-shrink: 0;
    }

    .hayha-criteria-bar-mobile .hayha-search-button--mobile {
        display: none !important;
    }

    /* Room Cards */
    .hayha-room-card {
        padding: 16px;
        border-radius: 16px;
    }

    .hayha-room-card__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hayha-room-card__media {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }

    .hayha-room-card__info {
        min-height: auto;
    }

    .hayha-room-price-col {
        display: none;
    }

    /* Mobile Price Column (Compact aligned hierarchy, no text wrapping) */
    .hayha-room-price-col-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 8px;
        border-top: 1px solid var(--hayha-theme-border);
        padding-top: 14px;
        margin-top: 14px;
    }

    .hayha-mobile-price-left {
        display: flex;
        flex-direction: column;
        min-width: 0;
        flex: 1 1 auto;
    }

    .hayha-mobile-price-line {
        display: flex;
        align-items: baseline;
        flex-wrap: wrap;
        white-space: normal;
        gap: 4px;
    }

    .hayha-mobile-amount {
        font-size: 20px;
        font-weight: 700;
        line-height: 1.2;
        color: var(--hayha-theme-accent);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hayha-mobile-unit {
        font-size: 13px;
        font-weight: 400;
        color: var(--hayha-theme-text);
        white-space: nowrap;
        flex-shrink: 0;
    }

    .hayha-mobile-tax-note {
        font-size: 12px;
        color: var(--hayha-theme-muted);
        margin-top: 2px;
        white-space: nowrap;
    }

    .hayha-mobile-action-right {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 4px;
        flex-shrink: 0;
    }

    .hayha-room-scarcity--mobile {
        font-size: 12px;
        line-height: 16px;
        color: #D70D00;
        margin-bottom: 4px;
        gap: 4px;
        text-align: center;
    }

    .hayha-room-scarcity--mobile .hayha-scarcity-icon {
        width: 12px;
        height: 12px;
    }

    .hayha-room-rates-toggle-btn--mobile,
    .hayha-room-select-direct-btn--mobile {
        height: 36px;
        padding: 0 12px;
        font-size: 14px;
        font-weight: 600;
        border-radius: 9999px;
        white-space: nowrap;
        flex-shrink: 0;
        min-width: auto;
    }

    .hayha-room-rates-toggle-btn--mobile .hayha-toggle-icon {
        display: none !important;
    }

    .hayha-room-unavailable-box--mobile {
        font-size: 12px;
        color: #6B7280;
        font-weight: 500;
        padding: 4px 8px;
        text-align: center;
    }

    .hayha-mobile-soldout-wrap {
        width: 100%;
        margin-top: 12px;
    }

    .hayha-btn-soldout--mobile,
    .hayha-soldout-badge--mobile {
        width: 100% !important;
        min-height: 40px !important;
        padding: 8px 12px !important;
        justify-content: center !important;
        font-size: 14px !important;
    }

    /* Mobile RatePlans Stack (< 768px: full width, divided list matching reference) */
    .hayha-room-card__rates {
        border-top: 1px solid var(--hayha-theme-border);
        margin-top: 16px;
        padding-top: 0;
    }

    .hayha-rate-plans-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .hayha-rate-card {
        border: none !important;
        border-top: 1px solid var(--hayha-theme-border) !important;
        border-radius: 0 !important;
        padding: 16px 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        min-height: auto;
    }

    .hayha-rate-card:first-child {
        border-top: none !important;
    }

    .hayha-rate-card__title {
        font-size: 16px;
        line-height: 22px;
        margin-bottom: 8px;
    }

    .hayha-rate-card__bottom {
        padding-top: 8px;
        margin-top: 8px;
    }

    .hayha-rate-card__amount {
        font-size: 20px;
        line-height: 26px;
    }

    .hayha-rate-card__currency {
        font-size: 13px;
    }

    .hayha-btn-select-room {
        height: 38px;
        padding: 0 20px;
        font-size: 14px;
    }

    .hayha-mobile-bottom-bar {
        display: none !important;
    }
}

/* =========================================================================
   7. Skeleton Loading State & Refresh UI (HAYHA-R3-009F)
   ========================================================================= */
.hayha-room-results {
    width: 100%;
    position: relative;
}

.hayha-room-results[aria-busy="true"] {
    pointer-events: none;
}

.hayha-room-skeletons {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.hayha-skeleton-card {
    width: 100%;
    max-width: 100%;
    background: var(--hayha-theme-surface);
    border-radius: 16px;
    padding: 24px;
    border: 1px solid var(--hayha-theme-border);
    box-shadow: 0 5px 13px -5px rgba(16, 25, 40, 0.05);
    box-sizing: border-box;
}

.hayha-skeleton-grid {
    display: grid;
    grid-template-columns: 290px 1fr 220px;
    gap: 24px;
    align-items: start;
}

.hayha-skeleton-shimmer {
    background: linear-gradient(90deg, var(--hayha-theme-soft) 25%, var(--hayha-theme-soft) 37%, var(--hayha-theme-soft) 63%);
    background-size: 400% 100%;
    animation: hayha-skeleton-sweep 1.4s ease-in-out infinite;
    border-radius: 6px;
}

@keyframes hayha-skeleton-sweep {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: -100% 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hayha-skeleton-shimmer {
        animation: none !important;
        background: var(--hayha-theme-soft) !important;
    }
}

.hayha-skeleton-media {
    width: 290px;
    height: 216px;
    border-radius: 16px;
}

.hayha-skeleton-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hayha-skeleton-title {
    width: 55%;
    height: 24px;
    border-radius: 6px;
}

.hayha-skeleton-meta-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.hayha-skeleton-badge {
    width: 68px;
    height: 20px;
    border-radius: 4px;
}

.hayha-skeleton-desc {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 4px;
}

.hayha-skeleton-desc-line1 {
    width: 88%;
    height: 14px;
}

.hayha-skeleton-desc-line2 {
    width: 62%;
    height: 14px;
}

.hayha-skeleton-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    margin-top: 6px;
}

.hayha-skeleton-feature-item {
    width: 120px;
    height: 18px;
    border-radius: 4px;
}

.hayha-skeleton-link {
    width: 110px;
    height: 14px;
    margin-top: 4px;
}

.hayha-skeleton-price-col {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
}

.hayha-skeleton-price-amount {
    width: 140px;
    height: 26px;
    border-radius: 6px;
}

.hayha-skeleton-price-unit {
    width: 80px;
    height: 14px;
}

.hayha-skeleton-price-tax {
    width: 100px;
    height: 12px;
    margin-bottom: 24px;
}

.hayha-skeleton-btn {
    width: 110px;
    height: 44px;
    border-radius: 9999px;
}

/* Mobile skeleton styles (< 768px) */
@media (max-width: 767px) {
    .hayha-skeleton-card {
        padding: 16px;
        border-radius: 16px;
    }

    .hayha-skeleton-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .hayha-skeleton-media {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }

    .hayha-skeleton-price-col {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        margin-top: 8px;
    }

    .hayha-skeleton-price-tax {
        margin-bottom: 0;
    }

    .hayha-skeleton-btn {
        width: 100px;
        height: 40px;
    }
}

/* Scoped Error state inside room results */
.hayha-room-error-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 48px 24px;
    background: #FFFFFF;
    border-radius: 16px;
    border: 1px solid #FEE2E2;
    box-shadow: 0 4px 12px rgba(0,0,0,0.03);
    margin: 24px 0;
}

.hayha-room-error-icon {
    width: 48px;
    height: 48px;
    color: #DC2626;
    margin-bottom: 16px;
}

.hayha-room-error-title {
    font-size: 18px;
    font-weight: 600;
    color: #1F2937;
    margin-bottom: 8px;
}

.hayha-room-error-desc {
    font-size: 14px;
    color: #4B5563;
    max-width: 440px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.hayha-room-error-retry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 24px;
    border-radius: 9999px;
    background: var(--hayha-theme-accent);
    color: #FFFFFF;
    font-size: 14px;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hayha-room-error-retry-btn:hover {
    background: #c2410c;
}

/* Disabled loading state on Apply buttons while request is active */
.hayha-search-button:disabled,
.hayha-search-button[aria-disabled="true"] {
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    pointer-events: none !important;
}

/* ==========================================================================
   Room Detail Modal (R3-012)
   Desktop Centered Split Dialog + Mobile Bottom-Sheet Drawer
   ========================================================================== */

html.hayha-room-modal-open,
body.hayha-room-modal-open {
    overflow: hidden !important;
    overscroll-behavior: none !important;
}

.hayha-room-modal {
    position: fixed;
    inset: 0;
    z-index: 99999999;
    display: flex;
    align-items: center;
    justify-content: center;
    visibility: visible;
    opacity: 1;
    overscroll-behavior: contain;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.hayha-room-modal[hidden] {
    display: none !important;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
}

.hayha-room-modal__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hayha-room-modal__container {
    position: relative;
    z-index: 2;
    background: var(--hayha-theme-surface);
    width: 90vw;
    max-width: 1080px;
    max-height: calc(100dvh - 64px);
    border-radius: 12px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: hayhaModalFadeIn 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes hayhaModalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.hayha-room-modal__handle {
    display: none;
}

/* Header */
.hayha-room-modal__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    border-bottom: 1px solid var(--hayha-theme-border);
    flex-shrink: 0;
}

.hayha-room-modal__title {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
    color: var(--hayha-theme-heading);
    line-height: 1.3;
}

.hayha-room-modal__close {
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    min-height: 32px !important;
    max-width: 32px !important;
    max-height: 32px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background: var(--hayha-theme-soft);
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hayha-theme-muted);
    transition: background 0.15s ease, color 0.15s ease;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    flex-shrink: 0;
}

.hayha-room-modal__close:hover {
    background: var(--hayha-theme-soft);
    color: var(--hayha-theme-text);
}

/* 2-Column Body */
.hayha-room-modal__body {
    display: flex;
    min-width: 0;
    height: min(700px, calc(100dvh - 116px));
    flex: 0 1 auto;
    overflow: hidden;
    min-height: 0;
}

/* Left Column: Gallery (~58%) */
.hayha-room-modal__gallery-col {
    flex: 0 0 60%;
    min-width: 0;
    max-width: 100%;
    background: var(--hayha-theme-heading);
    display: flex;
    flex-direction: column;
    min-height: 0;
    position: relative;
    user-select: none;
}

.hayha-room-modal__hero {
    flex: 1;
    position: relative;
    min-height: min(380px, 42vh);
    max-height: none;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--hayha-theme-heading);
}

.hayha-room-modal__hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: opacity 0.2s ease;
}


.hayha-room-modal__hero-counter {
    display: none;
}

.hayha-room-modal__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 28px !important;
    height: 28px !important;
    min-width: 28px !important;
    min-height: 28px !important;
    max-width: 28px !important;
    max-height: 28px !important;
    aspect-ratio: 1 / 1 !important;
    border-radius: 50% !important;
    background: transparent !important;
    border: none !important;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.22));
    z-index: 3;
    transition: transform 0.15s ease, filter 0.15s ease;
    padding: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
    line-height: 0 !important;
}

.hayha-room-modal__nav:hover {
    transform: translateY(-50%) scale(1.08);
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.3));
}

.hayha-room-modal__nav svg {
    display: block;
    width: 28px;
    height: 28px;
    pointer-events: none;
}

.hayha-room-modal__nav--prev {
    left: 14px;
}

.hayha-room-modal__nav--next {
    right: 14px;
}

/* Black Thumbnail Tray */
.hayha-room-modal__tray {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
    background: var(--hayha-theme-heading);
    padding: 12px 24px 20px;
    flex: 0 0 30%;
    box-sizing: border-box;
}

.hayha-room-modal__tray-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 12px;
}

.hayha-room-modal__counter {
    color: var(--hayha-theme-contrast);
    font-size: 22px;
    font-weight: 500;
    line-height: 1;
}

.hayha-room-modal__thumbs {
    min-width: 0;
    max-width: 100%;
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.hayha-room-modal__thumbs::-webkit-scrollbar { display: none; }

.hayha-room-modal__thumb {
    width: 135px;
    height: 90px;
    border-radius: 6px;
    border: 2px solid transparent;
    padding: 0;
    background: var(--hayha-theme-heading);
    cursor: pointer;
    overflow: hidden;
    opacity: 0.55;
    flex-shrink: 0;
    transition: opacity 0.15s ease, border-color 0.15s ease;
}

.hayha-room-modal__thumb:hover {
    opacity: 0.85;
}

.hayha-room-modal__thumb--active {
    opacity: 1;
    border-color: var(--hayha-theme-accent);
}

.hayha-room-modal__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right Column: Details (~42%) */
.hayha-room-modal__details-col {
    flex: 0 0 40%;
    min-width: 0;
    box-sizing: border-box;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    background: var(--hayha-theme-surface);
    min-height: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    overscroll-behavior: contain;
}

.hayha-room-modal__details-col::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
}

.hayha-room-modal__brand {
    margin-bottom: 12px;
}

.hayha-room-modal__brand-img {
    max-height: 28px;
    width: auto;
    display: block;
}

.hayha-room-modal__brand-text {
    font-size: 14px;
    font-weight: 600;
    color: var(--hayha-theme-text);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hayha-room-modal__desc {
    margin: 0 0 16px 0;
    font-size: 14px;
    line-height: 1.55;
    color: var(--hayha-theme-muted);
}

.hayha-room-modal__divider {
    height: 1px;
    background: var(--hayha-theme-soft);
    margin: 14px 0;
    flex-shrink: 0;
}

.hayha-room-modal__section {
    margin-bottom: 4px;
}

.hayha-room-modal__section-title {
    margin: 0 0 12px 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--hayha-theme-heading);
}

.hayha-room-modal__facts-list,
.hayha-room-modal__amenities-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hayha-room-modal__fact-item,
.hayha-room-modal__amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--hayha-theme-text);
}

.hayha-room-modal__fact-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    filter: invert(41%) sepia(88%) saturate(1630%) hue-rotate(352deg) brightness(94%) contrast(92%);
}

.hayha-room-modal__amenity-icon {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Sticky Bottom Price Action */
.hayha-room-modal__footer {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid var(--hayha-theme-border);
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
}

.hayha-room-modal__price-block {
    display: flex;
    flex-direction: column;
}

.hayha-room-modal__price-amount {
    font-size: 26px;
    font-weight: 700;
    color: var(--hayha-theme-accent);
    line-height: 1.2;
}

.hayha-room-modal__price-unit {
    font-size: 13px;
    color: var(--hayha-theme-muted);
    margin-top: 2px;
}

.hayha-room-modal__price-unavailable {
    font-size: 14px;
    color: #6B7280;
    font-style: italic;
}

.hayha-room-modal__soldout-wrap {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 6px;
}

/* Share the card's sold-out control; only adapt sizing to the popup footer. */
.hayha-room-modal__soldout-pill.hayha-btn-soldout {
    width: 100% !important;
    margin: 0;
}

.hayha-room-modal__cta {
    width: 100%;
    height: 48px;
    background: var(--hayha-theme-accent);
    color: var(--hayha-theme-contrast);
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, transform 0.1s ease;
    margin-top: 6px;
}

.hayha-room-modal__cta:hover:not(:disabled) {
    background: var(--hayha-theme-hover);
}

.hayha-room-modal__cta:active:not(:disabled) {
    transform: scale(0.99);
}

.hayha-room-modal__cta--disabled,
.hayha-room-modal__cta:disabled {
    background: var(--hayha-theme-soft) !important;
    color: var(--hayha-theme-disabled) !important;
    cursor: not-allowed !important;
    transform: none !important;
}

/* Keep controls reachable in shorter desktop windows. */
@media (min-width: 768px) and (max-height: 650px) {
    .hayha-room-modal__tray { flex: 0 0 auto; padding: 8px 12px; }
    .hayha-room-modal__tray-header { margin-bottom: 6px; }
    .hayha-room-modal__counter { font-size: 14px; }
    .hayha-room-modal__thumbs { gap: 8px; }
    .hayha-room-modal__thumbs::-webkit-scrollbar { display: none; }

.hayha-room-modal__thumb { width: 72px; height: 50px; }
}

/* Mobile Responsiveness (< 768px) */
@media (max-width: 767px) {
    .hayha-room-modal {
        align-items: flex-end;
    }

    .hayha-room-modal__container {
        width: 100%;
        max-width: 100%;
        height: 92vh;
        max-height: 92vh;
        border-radius: 20px 20px 0 0;
        animation: hayhaModalSlideUp 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }

    @keyframes hayhaModalSlideUp {
        from {
            transform: translateY(100%);
        }
        to {
            transform: translateY(0);
        }
    }

    .hayha-room-modal__handle {
        display: block;
        width: 36px;
        height: 4px;
        background: var(--hayha-theme-soft);
        border-radius: 9999px;
        margin: 8px auto 4px auto;
        flex-shrink: 0;
    }

    .hayha-room-modal__header {
        padding: 10px 16px;
    }

    .hayha-room-modal__title {
        font-size: 16px;
    }

    .hayha-room-modal__close {
        width: 32px;
        height: 32px;
    }

    .hayha-room-modal__body {
        height: auto;
        flex: 1;
        flex-direction: column;
        overflow-y: auto;
        scrollbar-width: none;
        -ms-overflow-style: none;
    }

    .hayha-room-modal__body::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

    .hayha-room-modal__gallery-col {
        flex: none;
        width: 100%;
    }

    .hayha-room-modal__tray {
        display: none;
    }

    .hayha-room-modal__hero {
        min-height: 220px;
        max-height: 250px;
    }

    .hayha-room-modal__hero-counter {
        display: inline-flex;
        align-items: center;
        position: absolute;
        bottom: 12px;
        right: 12px;
        background: rgba(0, 0, 0, 0.65);
        color: var(--hayha-theme-contrast);
        font-size: 12px;
        font-weight: 500;
        padding: 4px 10px;
        border-radius: 9999px;
        z-index: 3;
    }

    .hayha-room-modal__details-col {
        flex: none;
        width: 100%;
        padding: 16px;
        overflow: visible;
    }

    .hayha-room-modal__section {
        background: var(--hayha-theme-surface);
        padding: 12px 14px;
        border-radius: 8px;
        margin-bottom: 8px;
    }

    .hayha-room-modal__divider {
        display: none;
    }

    .hayha-room-modal__footer {
        position: sticky;
        bottom: 0;
        left: 0;
        right: 0;
        background: var(--hayha-theme-surface);
        padding: 12px 16px;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.05);
        z-index: 10;
        margin-top: 16px;
    }
}



/* Optional Property video uses the existing gallery dialog. */
/* Play marker is part of the media tile, never a separate gallery CTA. */
.hayha-gallery-video-item { position: relative; }
.hayha-gallery-play { position: absolute; inset: 0; margin: auto; width: 56px; height: 56px; display: flex; align-items: center; justify-content: center; border-radius: 50%; color: var(--hayha-theme-contrast); background: rgba(0,0,0,.65); border: 2px solid var(--hayha-theme-border); pointer-events: none; box-shadow: 0 2px 12px rgba(0,0,0,.25); }
.hayha-gallery-play img { width: 24px !important; height: 24px !important; object-fit: contain; transform: none !important; }
.hayha-gallery-video-item:hover .hayha-gallery-play { background: var(--hayha-theme-heading); }
.hayha-gallery-video-item:focus-visible { outline: 3px solid var(--hayha-theme-accent); outline-offset: -3px; }
.hayha-lightbox__thumb .hayha-gallery-play { width: 32px; height: 32px; border-width: 1px; }
.hayha-lightbox__thumb .hayha-gallery-play img { width: 18px !important; height: 18px !important; }
.hayha-room-soldout-notice { margin: 0 0 10px !important; width: 100%; font-size: 14px; line-height: 20px; color: #d70d00; text-align: center; }
.hayha-room-soldout-wrap, .hayha-room-modal__soldout-wrap { flex-direction: column; }
.hayha-lightbox__video { width: 100%; max-width: 100%; max-height: 100%; object-fit: contain; }
.hayha-lightbox__video[hidden], .hayha-lightbox__img[hidden] { display: none !important; }

.hayha-gallery-video-item video[data-hayha-video-thumb] { width: 100%; height: 100%; object-fit: cover; background: var(--hayha-theme-heading); pointer-events: none; }
.hayha-lightbox__thumb video[data-hayha-video-thumb] { display: block; }

@media(min-width:768px) { .hayha-gallery-desktop--single { display: block; } }
.hayha-gallery-desktop--single .hayha-gallery-desktop__main { height: 410px; }
.hayha-gallery-desktop--single .hayha-gallery-desktop__grid { display: none; }

/* Property content uses saved WordPress content and theme typography. */
.hayha-overview-body:not(.hayha-overview-body--expanded) {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    overflow: hidden;
}
.hayha-btn-readmore[hidden] { display: none; }
.hayha-property-policy { border-block: 1px solid var(--hayha-theme-border); margin: 24px 0; padding: 16px 0; }
.hayha-property-policy summary { cursor: pointer; font-weight: 500; }
.hayha-property-policy summary span { float: right; font-size: 13px; font-weight: 400; }
.hayha-property-policy[open] summary { margin-bottom: 16px; }
@media (max-width: 767px) {
    .hayha-property-detail-page .hayha-breadcrumbs { display: none; }
    .hayha-hero-gallery > .hayha-container { padding-inline: 0; }
    .hayha-gallery-mobile { border-radius: 0; height: 270px; }
    .hayha-overview-body:not(.hayha-overview-body--expanded) { -webkit-line-clamp: 4; }
}
.hayha-property-detail-page .hayha-truthful-state {
    padding: 28px 24px; margin-block: 20px; border: 1px solid var(--hayha-theme-border);
    border-radius: 12px; background: var(--hayha-theme-surface); text-align: center;
}
.hayha-property-detail-page .hayha-truthful-state__title { font-family: inherit; font-weight: 500; font-size: 20px; line-height: 1.4; margin: 8px 0 12px; }
.hayha-property-detail-page .hayha-truthful-state__desc { font-size: 14px; line-height: 1.6; margin: 0; }
@media (max-width: 767px) {
    .hayha-property-detail-page .hayha-prop-title { font-size: 26px; line-height: 1.25; }
}

/* Fixed-price local plans use the shared property criteria and popup components. */
.hayha-criteria-bar-wrap .hayha-fixed-criteria .hayha-search-field {flex:1 1 0;width:auto;min-width:0}
.hayha-search-popup .hayha-guest-stepper .hayha-fixed-quantity {width:40px;min-width:40px;max-width:40px;height:32px;min-height:32px;padding:0;margin:0;border:0;border-radius:0;box-shadow:none;background:transparent;text-align:center;font:inherit;font-size:16px;line-height:32px;color:inherit;appearance:textfield}
.hayha-fixed-quantity::-webkit-inner-spin-button,.hayha-fixed-quantity::-webkit-outer-spin-button {appearance:none;margin:0}
@media(max-width:768px){
 .hayha-criteria-bar-wrap .hayha-fixed-criteria {display:flex;padding-inline:6px}
 .hayha-criteria-bar-wrap .hayha-fixed-criteria .hayha-search-field {padding-inline:8px}
 .hayha-fixed-criteria .hayha-search-field-divider {margin-inline:0}
 .hayha-fixed-criteria .hayha-search-action {padding-inline:0}
 .hayha-fixed-criteria .hayha-search-button--desktop {display:block;width:auto;padding-inline:12px}
}

@media(max-width:768px){
 .hayha-calendar-popup[data-fixed-date] .hayha-date-modal__months-row {grid-template-columns:minmax(0,1fr);gap:20px;overflow-y:visible}
 .hayha-calendar-popup[data-fixed-date] .hayha-cal-month-col:nth-child(2) {display:none}
}

/* Per-property policies use native dialog focus management and a centered modal. */
.hayha-property-policy-link{display:inline-block;background:transparent;border:0;padding:0;margin:28px 0 0;color:var(--hayha-theme-accent);font:inherit;text-align:left;text-decoration:underline;cursor:pointer}
.hayha-policy-drawer{position:fixed;inset:0;margin:auto;padding:0;border:0;border-radius:16px;width:min(780px,calc(100vw - 48px));max-width:calc(100vw - 48px);height:fit-content;max-height:calc(100dvh - 48px);background:var(--hayha-theme-surface);color:var(--hayha-theme-text);box-sizing:border-box}
.hayha-policy-drawer[open]{display:flex;flex-direction:column}
.hayha-policy-drawer::backdrop{background:#0006}
.hayha-policy-drawer__header{position:relative;flex:none;padding:24px 64px 24px 24px;border-bottom:1px solid var(--hayha-theme-border)}
.hayha-policy-drawer__header h2{font:inherit;font-size:24px;font-weight:600;color:var(--hayha-theme-heading);margin:0 0 10px}
.hayha-policy-drawer__header p{margin:0}
.hayha-policy-drawer__header button{position:absolute;right:16px;top:16px;width:36px;height:36px;min-height:36px;border:0;border-radius:50%;padding:0;background:var(--hayha-theme-soft);color:inherit;font-size:28px;line-height:1;cursor:pointer}
.hayha-policy-drawer__body{overflow:auto;overscroll-behavior:contain;padding:24px;min-height:0}
.hayha-policy-drawer__content{padding:24px;background:var(--hayha-theme-soft);border-radius:12px;line-height:1.75;overflow-wrap:anywhere}
.hayha-policy-drawer__content :is(h2,h3,h4){color:var(--hayha-theme-heading)}
.hayha-policy-drawer__content :is(img,table){max-width:100%}
.hayha-fixed-help{flex:1.3;min-width:0;margin:0;padding:0 16px;font-size:12px;line-height:1.5;color:var(--hayha-theme-muted)}
.hayha-fixed-help a{color:var(--hayha-theme-accent);text-decoration:underline}
@media(min-width:769px) and (max-width:1100px){.hayha-rate-plans-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:768px){
 .hayha-fixed-criteria{flex-wrap:wrap}
 .hayha-fixed-help{flex:0 0 100%;order:5;padding:8px 12px 10px}
 body .hayha-layout-bar:has(.hayha-fixed-help),body .hayha-layout-bar:has(.hayha-fixed-help) .hayha-filter-header__inner,body .hayha-layout-bar .hayha-fixed-criteria{height:auto!important;min-height:64px!important}
 .hayha-policy-drawer__header{padding:20px 60px 20px 20px}.hayha-policy-drawer__body{padding:16px}.hayha-policy-drawer__content{padding:18px}
}

.hayha-property-policy-link--mobile{display:none}
@media(max-width:768px){.hayha-property-policy-link--mobile{display:inline-block}}

.hayha-property-detail-page .hayha-side-card>.hayha-property-policy-link{display:block;margin:28px 0 0}
@media(max-width:768px){.hayha-policy-drawer{width:calc(100vw - 24px);max-width:calc(100vw - 24px);max-height:calc(100dvh - 24px)}}
