/* ============================================
   Property Page Styles
   Premium design for property detail pages
   ============================================ */

/* ---------- Loading State ---------- */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    gap: 1rem;
}

.loading-spinner {
    width: 48px;
    height: 48px;
    border: 3px solid var(--color-bg-light);
    border-top-color: var(--color-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.loading-container p {
    color: var(--color-text-light);
    font-size: 0.95rem;
}

/* ---------- Error State ---------- */
.error-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 60vh;
    text-align: center;
    padding: 2rem;
}

.error-content {
    max-width: 400px;
}

.error-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

.error-content h2 {
    font-family: var(--font-heading);
    margin-bottom: 0.5rem;
}

.error-content p {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-size: 0.875rem;
    color: var(--color-text-light);
}

.breadcrumb a {
    color: var(--color-text-light);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span:last-child {
    color: var(--color-text-dark);
}

/* ---------- Image Gallery ---------- */
.gallery-section {
    padding: 0 1rem;
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 0.5rem;
    max-width: 1400px;
    margin: 0 auto;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.gallery-main {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-main:hover img {
    transform: scale(1.02);
}

.gallery-view-all {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: white;
    border: none;
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: var(--shadow-md);
    transition: all 0.2s;
}

.gallery-view-all:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.gallery-thumbs {
    display: grid;
    grid-template-rows: 1fr 1fr;
    gap: 0.5rem;
}

.gallery-thumb {
    aspect-ratio: 16/9;
    overflow: hidden;
    cursor: pointer;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease, opacity 0.3s;
}

.gallery-thumb:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ---------- Property Layout ---------- */
.property-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 4rem;
    padding: 2rem 0 4rem;
}

/* ---------- Property Details ---------- */
.property-header {
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.property-location-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-bg-light);
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-full);
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
}

.property-title {
    font-family: var(--font-heading);
    font-size: 2.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text-dark);
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
}

.property-rating {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-weight: 500;
}

.property-rating .star {
    color: #f59e0b;
}

.property-rating .reviews {
    color: var(--color-text-light);
    font-weight: 400;
}

.property-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    color: var(--color-text-light);
    font-size: 0.95rem;
}

.property-section {
    margin-bottom: 2.5rem;
}

.property-section h2 {
    font-family: var(--font-heading);
    font-size: 1.375rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.property-section p {
    line-height: 1.75;
    color: var(--color-text);
}

/* ---------- Amenities Grid ---------- */
.amenities-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
}

.amenity-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

/* ---------- Location Map ---------- */
.location-preview {
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.location-map {
    aspect-ratio: 2/1;
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--color-primary);
}

.map-placeholder span {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

/* ---------- Booking Sidebar ---------- */
.booking-sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.booking-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid var(--color-border);
}

.booking-price {
    margin-bottom: 1.5rem;
}

.price-amount {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--color-text-dark);
}

.price-period {
    color: var(--color-text-light);
    font-size: 1rem;
}

/* ---------- Booking Form ---------- */
.booking-form-property {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.date-field {
    padding: 0.75rem 1rem;
}

.date-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    color: var(--color-text-dark);
}

.date-field input {
    width: 100%;
    border: none;
    font-size: 0.9rem;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.date-field input::placeholder {
    color: var(--color-text-light);
}

.date-field input:focus {
    outline: none;
}

.date-divider {
    width: 1px;
    background: var(--color-border);
}

.guest-field {
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: 0.75rem 1rem;
}

.guest-field label {
    display: block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    color: var(--color-text-dark);
}

.guest-field select {
    width: 100%;
    border: none;
    font-size: 0.9rem;
    padding: 0;
    background: transparent;
    cursor: pointer;
}

.btn-book {
    padding: 1rem;
    font-size: 1rem;
    font-weight: 600;
    width: 100%;
}

.btn-book:disabled {
    background: var(--color-border);
    cursor: not-allowed;
}

/* ---------- Price Breakdown ---------- */
.price-breakdown {
    padding-top: 1.5rem;
    border-top: 1px solid var(--color-border);
    margin-top: 1rem;
}

.price-row {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    font-size: 0.95rem;
}

.price-row.price-total {
    font-weight: 600;
    font-size: 1.1rem;
    padding-top: 0.75rem;
    margin-top: 0.5rem;
    border-top: 1px solid var(--color-border);
}

.booking-note {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    margin-top: 1rem;
    padding: 0.75rem;
    background: var(--color-bg-light);
    border-radius: var(--radius-md);
    font-size: 0.85rem;
    color: var(--color-text-light);
}

.booking-note span {
    flex-shrink: 0;
}

/* ---------- Calendar Card ---------- */
.calendar-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 1.5rem;
    margin-top: 1.5rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid var(--color-border);
}

.calendar-card h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.calendar-legend {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
}

.legend-available {
    color: var(--color-primary);
}

.legend-booked {
    color: #ef4444;
}

/* ---------- Flatpickr Customization ---------- */
.flatpickr-calendar.inline {
    box-shadow: none !important;
    border: none !important;
    width: 100% !important;
}

.flatpickr-day {
    border-radius: 50% !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
}

.flatpickr-day.inRange {
    background: rgba(37, 99, 235, 0.1) !important;
    border-color: transparent !important;
    box-shadow: none !important;
}

.flatpickr-day.flatpickr-disabled {
    color: #e5e7eb !important;
    text-decoration: line-through;
}

.flatpickr-day.blocked-date {
    background: #fef2f2 !important;
    color: #ef4444 !important;
}

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    color: white;
    font-size: 2.5rem;
    cursor: pointer;
    z-index: 10;
    transition: opacity 0.2s;
}

.lightbox-close:hover {
    opacity: 0.7;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    font-size: 3rem;
    padding: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.2);
}

.lightbox-prev {
    left: 1rem;
}

.lightbox-next {
    right: 1rem;
}

.lightbox-content {
    max-width: 90vw;
    max-height: 90vh;
    text-align: center;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 85vh;
    object-fit: contain;
}

.lightbox-counter {
    color: white;
    margin-top: 1rem;
    font-size: 0.9rem;
}

/* ---------- Modal ---------- */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.modal-content {
    position: relative;
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    max-width: 480px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-xl);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-text-light);
    transition: color 0.2s;
}

.modal-close:hover {
    color: var(--color-text-dark);
}

.modal-content h2 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.modal-subtitle {
    color: var(--color-text-light);
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
}

.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.375rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    font-size: 1rem;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.modal-price-summary {
    background: var(--color-bg-light);
    margin: 1.5rem -2rem;
    padding: 1rem 2rem;
}

.btn-full {
    width: 100%;
}

.secure-note {
    text-align: center;
    font-size: 0.8rem;
    color: var(--color-text-light);
    margin-top: 0.75rem;
}

/* ============================================
   BOOKING.COM STYLE COMPONENTS
   ============================================ */

/* ---------- Enhanced Gallery with Map ---------- */
.booking-gallery-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem 2rem;
}

.booking-gallery-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.5fr 0.5fr 280px;
    grid-template-rows: 1fr 1fr;
    gap: 4px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 400px;
}

.booking-gallery-main {
    grid-column: 1;
    grid-row: span 2;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.booking-gallery-main img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.booking-gallery-main:hover img {
    transform: scale(1.02);
}

/* Remove the side containers - thumbs are direct grid children */
.booking-gallery-side {
    display: contents;
}

.booking-gallery-thumb {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

/* Explicit grid positions for thumbnails */
.booking-gallery-thumb:nth-of-type(1) {
    grid-column: 2;
    grid-row: 1;
}

.booking-gallery-thumb:nth-of-type(2) {
    grid-column: 3;
    grid-row: 1;
}

.booking-gallery-thumb:nth-of-type(3) {
    grid-column: 2;
    grid-row: 2;
}

.booking-gallery-thumb:nth-of-type(4) {
    grid-column: 3;
    grid-row: 2;
}

.booking-gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.booking-gallery-thumb:hover img {
    transform: scale(1.05);
}

.booking-gallery-more {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
}

.booking-gallery-more:hover {
    background: rgba(0, 0, 0, 0.6);
}

/* Review Score Panel */
.booking-review-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: #fff;
    padding: 1rem;
    grid-column: 4;
    grid-row: 1 / span 2;
}

.review-score-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.review-score-badge {
    background: #003580;
    color: white;
    font-size: 1.25rem;
    font-weight: 700;
    padding: 0.5rem 0.75rem;
    border-radius: 8px 8px 8px 0;
    min-width: 44px;
    text-align: center;
}

.review-score-info {
    display: flex;
    flex-direction: column;
}

.review-score-label {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 1rem;
}

.review-score-count {
    color: #595959;
    font-size: 0.85rem;
}

/* Guest Quote Card */
.guest-quote-card {
    background: #f5f5f5;
    border-radius: 8px;
    padding: 1rem;
}

.guest-quote-title {
    font-size: 0.85rem;
    color: #595959;
    margin-bottom: 0.5rem;
}

.guest-quote-text {
    font-size: 0.9rem;
    color: #1a1a1a;
    line-height: 1.5;
    margin-bottom: 0.75rem;
    font-style: italic;
}

.guest-quote-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
}

.guest-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #00a699;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.75rem;
}

.guest-country {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #595959;
}

.guest-country img {
    width: 16px;
    height: 12px;
    border-radius: 2px;
}

/* Location Score */
.location-score {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.location-score-label {
    font-weight: 500;
    color: #1a1a1a;
}

.location-score-value {
    background: #003580;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 6px 6px 6px 0;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Mini Map */
.booking-mini-map {
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.booking-mini-map iframe,
.booking-mini-map #mini-map-container {
    width: 100%;
    height: 100%;
}

.map-show-btn {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: #003580;
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: background 0.2s;
}

.map-show-btn:hover {
    background: #002855;
}

/* ---------- Amenity Icons Bar ---------- */
.amenity-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    padding: 1rem 0;
    margin: 1rem 0;
    border-top: 1px solid #e7e7e7;
    border-bottom: 1px solid #e7e7e7;
}

.amenity-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    background: #f5f5f5;
    border-radius: 8px;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.amenity-chip svg {
    width: 20px;
    height: 20px;
    color: #595959;
}

.amenity-chip-icon {
    font-size: 1.25rem;
}

.amenity-chip-text {
    display: flex;
    flex-direction: column;
}

.amenity-chip-main {
    font-weight: 500;
}

.amenity-chip-sub {
    font-size: 0.75rem;
    color: #595959;
}

/* ---------- Guest Reviews Section ---------- */
.guest-reviews-section {
    padding: 2rem 0;
    border-top: 1px solid #e7e7e7;
}

.reviews-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.reviews-header .review-score-badge {
    font-size: 1.5rem;
    padding: 0.75rem 1rem;
}

.reviews-header-text {
    display: flex;
    flex-direction: column;
}

.reviews-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.reviews-link {
    color: #0071c2;
    font-size: 0.9rem;
    cursor: pointer;
}

.reviews-link:hover {
    text-decoration: underline;
}

/* Categories Grid */
.review-categories {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.review-category {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.category-name {
    font-size: 0.9rem;
    color: #1a1a1a;
}

.category-score {
    font-weight: 600;
    color: #1a1a1a;
}

.category-bar {
    height: 8px;
    background: #e7e7e7;
    border-radius: 4px;
    overflow: hidden;
}

.category-bar-fill {
    height: 100%;
    background: #003580;
    border-radius: 4px;
    transition: width 0.3s ease;
}

/* Topic Tags */
.review-topics {
    margin-bottom: 2rem;
}

.review-topics h4 {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #1a1a1a;
}

.topic-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.topic-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border: 1px solid #e7e7e7;
    border-radius: 20px;
    font-size: 0.85rem;
    color: #595959;
    cursor: pointer;
    transition: all 0.2s;
}

.topic-tag:hover {
    background: #f5f5f5;
    border-color: #003580;
    color: #003580;
}

.topic-tag.active {
    background: #003580;
    color: white;
    border-color: #003580;
}

/* Guest Review Cards */
.guest-reviews-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1a1a1a;
}

.guest-reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    position: relative;
}

.guest-review-card {
    background: white;
    border: 1px solid #e7e7e7;
    border-radius: 12px;
    padding: 1.25rem;
}

.review-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 1rem;
    color: white;
}

.review-avatar.green {
    background: #00a699;
}

.review-avatar.blue {
    background: #003580;
}

.review-avatar.purple {
    background: #7c3aed;
}

.review-avatar.orange {
    background: #ea580c;
}

.review-author-info {
    display: flex;
    flex-direction: column;
}

.review-author-name {
    font-weight: 600;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.review-author-country {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #595959;
    font-size: 0.85rem;
}

.review-author-country img {
    width: 16px;
    height: 12px;
}

.review-text {
    color: #1a1a1a;
    line-height: 1.6;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.review-read-more {
    color: #0071c2;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
}

.review-read-more:hover {
    text-decoration: underline;
}

/* Reviews Carousel Arrow */
.reviews-nav-arrow {
    position: absolute;
    right: -1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: white;
    border: 1px solid #e7e7e7;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.2s;
}

.reviews-nav-arrow:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #003580;
}

/* Show More Button */
.show-more-container {
    text-align: center;
    margin-top: 2rem;
}

.show-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: white;
    border: 1px solid #0071c2;
    color: #0071c2;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
}

.show-more-btn:hover {
    background: #f0f7ff;
}

/* ---------- Property Highlights ---------- */
.property-highlights {
    background: #ebf3ff;
    border-radius: 12px;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.highlights-title {
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.highlights-grid {
    display: grid;
    gap: 0.75rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #1a1a1a;
}

.highlight-icon {
    color: #00800a;
    font-size: 1rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
    .property-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .booking-sidebar {
        position: static;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(4, 1fr);
        grid-template-rows: 1fr;
    }
}

@media (max-width: 768px) {
    .booking-sidebar {
        grid-template-columns: 1fr;
    }

    .property-title {
        font-size: 1.75rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }

    .gallery-thumbs {
        grid-template-columns: repeat(2, 1fr);
    }

    .lightbox-nav {
        padding: 0.5rem;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .gallery-section {
        padding: 0;
    }

    .gallery-grid {
        border-radius: 0;
    }

    .property-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* Booking.com Components Responsive */
@media (max-width: 1024px) {
    .booking-gallery-grid {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }

    .booking-gallery-main {
        grid-column: span 2;
    }

    /* Reset explicit placements */
    .booking-gallery-thumb:nth-of-type(n) {
        grid-column: auto;
        grid-row: auto;
    }

    .booking-review-panel {
        grid-column: span 2;
        grid-row: auto;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .review-categories {
        grid-template-columns: repeat(2, 1fr);
    }

    .guest-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .booking-gallery-grid {
        grid-template-columns: 1fr;
    }

    .booking-gallery-main {
        grid-row: span 1;
    }

    .booking-review-panel {
        grid-column: span 1;
        flex-direction: column;
    }

    .review-categories {
        grid-template-columns: 1fr;
    }

    .guest-reviews-grid {
        grid-template-columns: 1fr;
    }

    .amenity-bar {
        justify-content: center;
    }

    .reviews-nav-arrow {
        display: none;
    }
}

/* ---------- House Rules ---------- */
.house-rules-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    background: white;
    padding: 1.5rem;
    border-radius: var(--radius-lg);
    border: 1px solid var(--color-border);
}

.house-rule-item {
    display: flex;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--color-border-light);
}

.house-rule-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.house-rule-icon {
    font-size: 1.25rem;
    min-width: 24px;
    text-align: center;
    color: var(--color-text-light);
}

.house-rule-content {
    flex: 1;
}

.house-rule-label {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--color-text-dark);
    margin-bottom: 0.25rem;
}

.house-rule-value {
    font-size: 0.9rem;
    color: var(--color-text);
    line-height: 1.5;
}

/* ---------- Area Info ---------- */
.check-availability-btn {
    font-size: 0.9rem;
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 500;
}

.check-availability-btn:hover {
    text-decoration: underline;
}

.area-info-subtitle {
    color: var(--color-primary);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.area-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (max-width: 640px) {
    .area-info-grid {
        grid-template-columns: 1fr;
    }
}

.area-category {
    margin-bottom: 1.5rem;
}

.area-category-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.area-category-icon {
    font-size: 1.1rem;
}

.area-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.area-items {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.area-item {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--color-text);
}

.area-item-distance {
    color: var(--color-text-light);
    font-size: 0.85rem;
}

/* ---------- Facilities ---------- */
.popular-facilities {
    margin-bottom: 2rem;
}

.popular-title {
    font-weight: 600;
    font-size: 1rem;
    color: var(--color-text-dark);
    margin-bottom: 0.75rem;
}

.popular-items {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.popular-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--color-success);
    font-size: 0.9rem;
    font-weight: 500;
}

.popular-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid var(--color-success);
    color: var(--color-success);
    font-size: 0.6rem;
    /* content: "✓"; pseudo-element handling might be better if icon font available */
}

/* Override with actual icon look */
.popular-icon {
    font-family: sans-serif;
    /* Ensure mark renders */
    font-weight: bold;
    font-size: 14px;
    /* Adjust size */
    line-height: 1;
}

.facilities-grid {
    /* Use column layout to avoid vertical gaps */
    column-count: 3;
    column-gap: 2rem;
    display: block;
    /* Override grid */
}

@media (max-width: 1024px) {
    .facilities-grid {
        column-count: 2;
    }
}

@media (max-width: 640px) {
    .facilities-grid {
        column-count: 1;
    }
}

.facility-category {
    margin-bottom: 2rem;
    /* Space between items in column */
    break-inside: avoid;
    /* Prevent splitting category across columns */
}

.facility-category-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.facility-category-icon {
    font-size: 1.25rem;
    color: var(--color-text-light);
    width: 24px;
    text-align: center;
}

.facility-category-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--color-text-dark);
}

.facility-list {
    list-style: none;
    padding: 0;
    margin: 0;
    padding-left: 2.25rem;
    /* Indent to align with title text */
}

.facility-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--color-text);
    margin-bottom: 0.5rem;
    position: relative;
    line-height: 1.5;
}

.facility-check {
    color: var(--color-success);
    /* Make checkmark green like popular ones or visible dark */
    font-size: 1rem;
    line-height: 1.2;
    font-weight: bold;
    display: inline-block;
    /* Ensure it shows */
    width: 16px;
}

/* Remove pseudo-element if we use the span */
.facility-item::before {
    content: none;
}

/* Mobile Layout Fixes */
@media (max-width: 1024px) {
    .property-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .booking-sidebar {
        position: static;
        width: 100%;
        margin-top: 2rem;
    }

    .booking-gallery-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
    }

    .booking-gallery-main {
        grid-column: 1 / -1;
        grid-row: 1;
        aspect-ratio: 16/9;
    }

    .booking-gallery-thumb:nth-of-type(1),
    .booking-gallery-thumb:nth-of-type(3) {
        grid-column: 1;
    }

    .booking-gallery-thumb:nth-of-type(2),
    .booking-gallery-thumb:nth-of-type(4) {
        grid-column: 2;
    }

    .booking-gallery-thumb {
        aspect-ratio: 16/9;
    }
}

@media (max-width: 768px) {
    .booking-gallery-section {
        padding: 0;
    }
    
    .booking-gallery-grid {
        grid-template-columns: 1fr;
        border-radius: 0;
        gap: 2px;
    }

    .booking-gallery-thumb:not(:nth-of-type(1)) {
        display: none;
    }

    .booking-gallery-thumb:nth-of-type(1) {
        grid-column: 1;
    }
    
    .booking-gallery-more {
        font-size: 0.9rem;
    }

    .amenities-grid {
        grid-template-columns: 1fr;
    }
    
    .amenity-bar {
        overflow-x: auto;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
    }
    
    .amenity-chip {
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .property-title {
        font-size: 1.75rem;
    }
}

