html { scroll-behavior: smooth; }
    .breadcrumb { font-size: 0.8rem; color: #616C76; margin-bottom: 12px; }
    .breadcrumb a { color: #0B72D9; text-decoration: none; }
    .badge-row { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
    /* prop-type-badge removed - property type now shown via the stat cards instead */

    /* Hero toolbar - Back to Search + real share/wishlist actions */
    /* Toolbar moved into .hero-overlay-top (see hero overlay section below) */

    /* Highlight badges over the gallery (real admin flags only - Featured / Recommended) */
    .highlight-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 0.72rem; font-weight: 800; padding: 6px 14px; border-radius: 20px; color: #FFFFFF; box-shadow: 0 3px 10px rgba(0,0,0,0.25); }
    .highlight-badge.featured { background: linear-gradient(135deg, #F2A900, #FB923C); }
    .highlight-badge.recommended { background: linear-gradient(135deg, #9333EA, #EC4899); }
    .highlight-badge.verified { background: linear-gradient(135deg, #00A699, #024F47); }

    /* Quick stat cards - real data only (total rooms, rating, verification, distance) */
    /* Quick stat cards removed - Admin-Verified now shown as a badge in the hero overlay instead */

    /* Redesigned amenities grid - 2-column cards with icon + checkmark, matching the reference */
    .amenity-card-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
    @media (max-width: 700px) { .amenity-card-grid { grid-template-columns: 1fr; } }
    .amenity-card { display: flex; align-items: center; gap: 12px; background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
    .amenity-card .amenity-icon { width: 38px; height: 38px; border-radius: 8px; background: var(--parchment); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; flex-shrink: 0; }
    .amenity-card .amenity-name { font-size: 0.9rem; font-weight: 600; color: var(--ink); }
    .amenity-card .check { margin-left: auto; color: var(--sage); font-weight: 800; }

    /* Location distance pills - real gh.distanceToLandmark / distanceToStation only */
    .distance-pills { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 12px; }
    .distance-pill { background: var(--parchment); border-radius: 10px; padding: 10px 16px; font-size: 0.82rem; }
    .distance-pill strong { display: block; color: var(--ink); font-size: 0.85rem; }
    .distance-pill span { color: #616C76; font-size: 0.76rem; }

    .gallery-grid { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 6px; border-radius: 10px; overflow: hidden; height: 380px; position: relative; }
    .gallery-grid img { width: 100%; height: 100%; object-fit: cover; display: block; cursor: pointer; }
    .main-photo-wrap { grid-column: 1; grid-row: 1 / 3; position: relative; overflow: hidden; cursor: pointer; }
    .main-photo-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: blur(25px) brightness(0.55); transform: scale(1.15); }
    .gallery-grid img.main-photo { position: relative; width: 100%; height: 100%; object-fit: cover; z-index: 1; cursor: pointer; }
    .gallery-top-right { grid-column: 2; grid-row: 1; overflow: hidden; }
    .gallery-bottom-right { grid-column: 2; grid-row: 2; display: flex; gap: 6px; overflow: hidden; }
    .gallery-bottom-right img { flex: 1; min-width: 0; }
    @media (max-width: 800px) {
      .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; height: auto; }
      .gallery-top-right, .gallery-bottom-right { display: none; }
      .main-photo-wrap { height: 240px; }
    }

    /* Hero overlay - toolbar + title/rating float on top of the gallery photos with a
       gradient scrim, like a true hero banner. The gallery-grid itself (and every id/class
       the lightbox JS depends on) is completely untouched - this only wraps it and adds
       absolutely-positioned layers on top. */
    .hero-photo-wrap { position: relative; border-radius: 14px; overflow: hidden; margin-top: 16px; }
    .hero-overlay-top { position: absolute; top: 16px; left: 16px; right: 16px; z-index: 6; display: flex; justify-content: space-between; align-items: flex-start; pointer-events: none; }
    .hero-overlay-top > * { pointer-events: auto; }
    .back-to-search-ov { display: inline-flex; align-items: center; gap: 6px; font-size: 0.85rem; font-weight: 600; color: var(--ink); text-decoration: none; background: rgba(255,255,255,0.92); padding: 8px 16px; border-radius: 20px; backdrop-filter: blur(3px); }
    .hero-actions-ov { display: flex; gap: 8px; }
    .hero-icon-btn-ov { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.92); border: none; display: flex; align-items: center; justify-content: center; cursor: pointer; font-size: 0.95rem; color: var(--charcoal); backdrop-filter: blur(3px); }
    .see-all-photos-ov { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.92); border: none; padding: 8px 16px; border-radius: 20px; font-size: 0.8rem; font-weight: 700; cursor: pointer; backdrop-filter: blur(3px); }

    .hero-overlay-bottom {
      position: absolute; left: 0; right: 0; bottom: 0; z-index: 5; padding: 70px 24px 20px;
      background: linear-gradient(to top, rgba(6,20,38,0.88) 0%, rgba(6,20,38,0.55) 55%, rgba(6,20,38,0) 100%);
      color: #FFFFFF; pointer-events: none;
    }
    .hero-overlay-bottom > * { pointer-events: auto; }
    .hero-overlay-bottom .badge-row { margin-bottom: 8px; }
    .hero-overlay-bottom h1 { color: #FFFFFF; margin: 0; }
    .hero-overlay-bottom .hero-loc-rating { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 6px; font-size: 0.9rem; color: rgba(255,255,255,0.92); }
    .hero-overlay-bottom .hero-loc-rating .rating-line { color: #FFFFFF; }
    .hero-overlay-bottom .hero-loc-rating .rc { color: rgba(255,255,255,0.75); }
    @media (max-width: 800px) { .hero-overlay-bottom { padding: 50px 16px 16px; } .hero-overlay-bottom h1 { font-size: 1.5rem; } }

    /* Trust badges */
    /* trust-badge removed - trust signals now live in the stat cards and booking box checklist instead */

    /* Rating strip - redesigned to be the visual highlight of the page */
    .rating-strip { background: linear-gradient(135deg, var(--ink) 0%, #0A4A80 100%); border-radius: 12px; padding: 22px 24px; margin: 0 0 18px; color: #FFFFFF; }
    .rating-strip-top { display: flex; align-items: center; gap: 18px; }
    .rating-strip .score-box { background: #FFFFFF; color: var(--ink); font-weight: 800; font-size: 1.6rem; padding: 10px 16px; border-radius: 10px; min-width: 56px; text-align: center; box-shadow: 0 4px 12px rgba(0,0,0,0.15); }
    .rating-strip .score-label { font-weight: 800; font-size: 1.15rem; color: #FFFFFF; }
    .rating-strip .score-sub { font-size: 0.82rem; color: #CFE3F5; margin-top: 2px; }
    .category-breakdown { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 28px; margin-top: 20px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.2); }
    .category-row { display: flex; justify-content: space-between; align-items: center; font-size: 0.85rem; color: #FFFFFF; }
    .category-row span:first-child { min-width: 100px; }
    .category-bar { flex: 1; height: 6px; background: rgba(255,255,255,0.25); border-radius: 3px; margin: 0 12px; overflow: hidden; }
    .category-bar-fill { height: 100%; background: #F2A900; border-radius: 3px; }
    .category-row strong { color: #FFFFFF; min-width: 28px; text-align: right; }

    /* Room selection table */
    .room-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 0.88rem; }
    .room-table th { text-align: left; padding: 10px; background: var(--parchment); font-size: 0.72rem; text-transform: uppercase; color: var(--ink); }
    .room-table td { padding: 12px 10px; border-bottom: 1px solid var(--line); vertical-align: middle; }
    .room-table .room-price { font-weight: 800; color: var(--ink); font-size: 1rem; }
    .room-select-btn { background: var(--rust); color: #FFFFFF; border: none; padding: 8px 16px; border-radius: 6px; font-weight: 700; font-size: 0.82rem; cursor: pointer; }

    .facility-category { margin-bottom: 20px; }
    .facility-category h4 { font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; color: #616C76; margin-bottom: 10px; }
    .amenity-grid-rich { display: grid; grid-template-columns: repeat(auto-fit, minmax(170px, 1fr)); gap: 0; border: 1px solid var(--line); border-radius: 8px; overflow: hidden; }
    .amenity-grid-rich div { font-size: 0.85rem; color: var(--charcoal); display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: var(--white); }
    .amenity-grid-rich div::before { content: "\2713"; color: var(--sage); font-weight: 800; flex-shrink: 0; }

    .rules-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
    .rules-box { background: var(--parchment); border-radius: 8px; padding: 14px 16px; }
    .rules-box .label { font-size: 0.7rem; text-transform: uppercase; font-weight: 700; color: #616C76; letter-spacing: 0.5px; }
    .rules-box .value { font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-top: 4px; }

    .review-card { padding: 16px 0; border-bottom: 1px solid var(--line); }
    .review-avatar { width: 36px; height: 36px; border-radius: 50%; background: var(--ink); color: #FFFFFF; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 0.85rem; flex-shrink: 0; }

    .faq-item { padding: 14px 0; border-bottom: 1px solid var(--line); }
    .faq-item h4 { font-size: 0.92rem; margin: 0 0 6px; }
    .faq-item p { font-size: 0.85rem; color: #556372; margin: 0; }

    .similar-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 14px; }
    @media (max-width: 800px) { .similar-grid { grid-template-columns: 1fr; } }

    /* See all photos button */
    /* See all photos button moved into .hero-overlay-top as .see-all-photos-ov */

    /* Full-screen lightbox */
    .lightbox-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 1200; align-items: center; justify-content: center; }
    .lightbox-overlay.open { display: flex; }
    .lightbox-img { max-width: 88vw; max-height: 82vh; object-fit: contain; border-radius: 4px; }
    .lightbox-close { position: absolute; top: 18px; right: 24px; background: none; border: none; color: #FFFFFF; font-size: 2.2rem; cursor: pointer; line-height: 1; }
    .lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: none; color: #FFFFFF; font-size: 1.3rem; width: 46px; height: 46px; border-radius: 50%; cursor: pointer; }
    .lightbox-nav:hover { background: rgba(255,255,255,0.3); }
    .lightbox-prev { left: 20px; }
    .lightbox-next { right: 20px; }
    .lightbox-counter { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); color: #FFFFFF; font-size: 0.85rem; background: rgba(0,0,0,0.4); padding: 4px 12px; border-radius: 20px; }

    /* Full "see all photos" gallery modal */
    .gallery-modal-overlay { display: none; position: fixed; inset: 0; background: #FFFFFF; z-index: 1100; overflow-y: auto; }
    .gallery-modal-overlay.open { display: block; }
    .gallery-modal { max-width: 1160px; margin: 0 auto; padding: 64px 24px 60px; position: relative; }
    .gallery-modal-close { position: fixed; top: 18px; right: 24px; background: #FFFFFF; border: 1px solid var(--line); width: 40px; height: 40px; border-radius: 50%; font-size: 1.4rem; line-height: 1; cursor: pointer; z-index: 1101; box-shadow: 0 2px 10px rgba(0,0,0,0.15); }
    .gm-photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
    .gm-photo-grid img { width: 100%; height: 220px; object-fit: cover; border-radius: 8px; cursor: pointer; display: block; }
    @media (max-width: 800px) {
      .gm-photo-grid { grid-template-columns: repeat(2, 1fr); }
      .gm-photo-grid img { height: 160px; }
      .gallery-modal { padding: 56px 16px 40px; }
    }

    /* Jump-to-section tab bar */
    .section-tabs { display: flex; gap: 28px; border-bottom: 1px solid var(--line); margin: 20px 0 0; overflow-x: auto; position: sticky; top: 138px; background: var(--white); z-index: 50; }
    @media (max-width: 900px) { .section-tabs { position: static; } }
    /* Tighter top margin than the shared .detail-grid rule in style.css (which other pages
       like admin inventory-detail and seller/availability also use, so it's not touched
       globally) - the tab bar's own border already provides visual separation, so the extra
       32px on top of that was reading as an unnecessarily large gap. */
    .detail-grid { margin-top: 14px; }
    .tab-link { font-size: 0.9rem; font-weight: 600; color: #556372; text-decoration: none; padding: 14px 0; border-bottom: 3px solid transparent; white-space: nowrap; }
    .tab-link:hover { color: var(--ink); }
    .tab-link.active { color: var(--blue-mid); border-bottom-color: var(--blue-mid); }

    /* Sticky booking bar - appears once you scroll past the main booking box */
    .sticky-bar {
      position: fixed; bottom: 0; left: 0; right: 0; background: var(--white); border-top: 1px solid var(--line);
      box-shadow: 0 -4px 16px rgba(0,0,0,0.1); padding: 12px 20px; display: none; align-items: center; justify-content: space-between;
      z-index: 100;
    }
    .sticky-bar.visible { display: flex; }
    .sticky-bar .price { font-size: 1.1rem; font-weight: 800; color: var(--ink); }
    .sticky-bar .price small { font-size: 0.75rem; font-weight: 400; color: #616C76; }
