﻿/**
 * TRENJ - Chalet Details Page Styles
 * ===================================
 * Extracted from chalet-details.php
 * Airbnb-inspired design with RTL support
 */
        /* إخفاء الهيدر والفوتر على الموبايل في صفحة تفاصيل الشاليه */
        @media (max-width: 768px) {
            #main-header {
                display: none !important;
            }
            /* #bottom-nav يظهر الآن — الفوتر الرئيسي للضيوف */
            /* إزالة الفراغ العلوي لأن الهيدر مخفي */
            .main-content {
                padding-top: 0 !important;
            }
            #spa-content {
                min-height: 100vh !important;
            }
        }
        
        /* إزالة إعادة تعريف العناصر الأساسية للحفاظ على تصميم الموقع الأصلي */
        
        :root {
            /* ألوان Airbnb خاصة بصفحة التفاصيل فقط — لا نتجاوز --primary-color / --secondary-color */
            --airbnb-accent: #FF385C;
            --airbnb-teal: #00A699;
            --text-primary: #222222;
            --text-secondary: #717171;
            --border-color: #DDDDDD;
            --background: #FFFFFF;
            --background-secondary: #F7F7F7;
            --shadow: 0 2px 16px rgba(0,0,0,0.12);
            --shadow-hover: 0 6px 20px rgba(0,0,0,0.15);
        }
        
        /* أنماط خاصة بصفحة تفاصيل الشاليه فقط */
        .chalet-details-page {
            background: #f8f9fa;
            min-height: 100vh;
        }
        
        .page-container {
            max-width: 1440px;
            margin: 0 auto;
            padding: 0 80px;
        }
        
        /* ======================
           Hero Gallery Section
           ====================== */
        .hero-gallery {
            margin: 24px 0;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
        }
        
        /* Mobile gallery hidden on desktop */
        .mobile-gallery {
            display: none;
        }
        
        /* Photo grid modal + vgallery hidden on desktop */
        .photo-grid-modal {
            display: none;
        }
        
        /* Mobile-only elements hidden on desktop */
        .mobile-top-actions {
            display: none;
        }
        .mobile-content-card .drag-handle {
            display: none;
        }
        .title-host-stats {
            display: none;
        }
        .title-location-mobile {
            display: none;
        }
        /* On desktop, mobile-content-card is transparent wrapper */
        .mobile-content-card {
            background: transparent;
        }
        
        /* Gallery Grid - Airbnb Exact Sizes */
        .gallery-grid {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr;
            grid-template-rows: 1fr 1fr;
            gap: 8px;
            height: 480px; /* Airbnb standard height */
        }
        
        .gallery-item {
            position: relative;
            overflow: hidden;
            cursor: pointer;
            transition: all 0.3s ease;
        }
        
        .gallery-item:first-child {
            grid-row: span 2;
        }
        
        .gallery-item img,
        .gallery-item video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .gallery-item:hover img,
        .gallery-item:hover video {
            transform: scale(1.05);
        }
        
        .gallery-item:hover::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0,0,0,0.2);
        }
        
        .show-all-photos {
            position: absolute;
            bottom: 20px;
            right: 20px;
            background: white;
            border: 1px solid var(--text-primary);
            border-radius: 8px;
            padding: 10px 16px;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.3s;
            z-index: 10;
        }
        
        .show-all-photos:hover {
            background: var(--background-secondary);
            transform: scale(1.05);
        }

        /* vgallery-modal hidden by default (shown via JS .active class on mobile) */
        .vgallery-modal { display: none; }
        
        .video-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: rgba(0,0,0,0.7);
            width: 60px;
            height: 60px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 24px;
            pointer-events: none;
        }
        
        /* ======================
           Title Section
           ====================== */
        .title-section {
            padding: 24px 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .title-section h1 {
            font-size: 26px;
            font-weight: 600;
            margin-bottom: 8px;
        }
        
        .title-meta {
            display: flex;
            align-items: center;
            gap: 12px;
            flex-wrap: wrap;
            font-size: 14px;
        }
        
        .title-meta > * {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .rating-badge {
            display: flex;
            align-items: center;
            gap: 4px;
            font-weight: 600;
        }
        
        .rating-badge i {
            color: var(--airbnb-accent);
        }
        
        .meta-divider {
            color: var(--text-secondary);
        }
        
        .title-actions {
            display: flex;
            gap: 12px;
            margin-top: 16px;
            align-items: center;
            flex-wrap: wrap;
        }
        
        .action-btn {
            display: flex;
            align-items: center;
            gap: 8px;
            padding: 8px 16px;
            border: none;
            background: none;
            border-radius: 8px;
            cursor: pointer;
            font-weight: 600;
            text-decoration: none;
            color: var(--text-primary);
            transition: all 0.2s;
        }
        
        .action-btn:hover {
            background: var(--background-secondary);
        }
        
        .action-btn i {
            color: var(--text-secondary);
        }
        
        /* ======================
           Main Content Layout
           ====================== */
        .content-layout {
            display: grid;
            grid-template-columns: 1fr 380px;
            gap: 80px;
            padding: 48px 0;
        }
        
        .main-content {
            min-width: 0;
        }
        
        .sidebar {
            position: sticky;
            top: 100px;
            height: fit-content;
        }
        
        /* ======================
           Overview Section
           ====================== */
        .section {
            padding: 32px 0;
            border-bottom: 1px solid var(--border-color);
        }
        
        .section-title {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 24px;
        }
        
        .host-info {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 24px;
        }
        
        .host-avatar {
            width: 56px;
            height: 56px;
            border-radius: 50%;
            background: #f0f0f0;
            border: 1px solid var(--border-color);
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-secondary);
            font-size: 24px;
            font-weight: 600;
        }
        
        .host-details h3 {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .host-details p {
            font-size: 14px;
            color: var(--text-secondary);
        }
        
        .overview-features {
            display: flex;
            align-items: stretch;
            gap: 0;
            margin-bottom: 24px;
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            padding: 4px 0;
        }
        
        .overview-feature {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 6px;
            flex: 1;
            padding: 20px 16px;
            text-align: center;
            position: relative;
        }
        
        .overview-feature:not(:last-child)::after {
            content: '';
            position: absolute;
            left: 0;
            top: 25%;
            height: 50%;
            width: 1px;
            background: var(--border-color);
        }
        
        .feature-icon {
            width: auto !important;
            height: auto !important;
            margin: 0 !important;
            background: none !important;
            border-radius: 0 !important;
            font-size: 26px !important;
            color: var(--text-primary) !important;
            line-height: 1;
            display: inline-block !important;
        }
        
        .feature-text {
            display: flex;
            flex-direction: column;
            gap: 2px;
        }
        
        .feature-value {
            font-weight: 700;
            font-size: 20px;
            color: var(--text-primary);
            line-height: 1;
        }
        
        .feature-label {
            font-size: 12px;
            color: var(--text-secondary);
            font-weight: 400;
            white-space: nowrap;
        }
        
        .description {
            font-size: 16px;
            line-height: 1.75;
            color: var(--text-primary);
        }
        
        .read-more {
            color: var(--text-primary);
            font-weight: 600;
            text-decoration: underline;
            cursor: pointer;
            margin-top: 8px;
            display: inline-block;
        }
        
        /* ======================
           Host Information Section (Detailed)
           ====================== */
        .host-section {
            border-top: 1px solid var(--border);
            padding-top: 48px;
            display: none;
        }

        /* Desktop-only action buttons (Instagram + Contact) */
        .action-btn-desktop {
            display: flex;
        }
        .action-btn-desktop.action-btn i.fa-instagram {
            color: #E1306C;
        }
        .action-btn-desktop.action-btn i.fa-comments {
            color: var(--airbnb-accent, #FF385C);
        }
        
        .host-card {
            max-width: 480px;
            padding: 24px;
            border: 1px solid var(--border);
            border-radius: 16px;
            box-shadow: var(--shadow);
        }
        
        .host-card-header {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 24px;
        }
        
        .host-card-avatar {
            position: relative;
            width: 80px;
            height: 80px;
            background: #f0f0f0;
            border: 1px solid var(--border-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 32px;
            font-weight: bold;
            color: var(--text-secondary);
            flex-shrink: 0;
        }
        
        .verified-badge {
            position: absolute;
            bottom: 0;
            right: 0;
            width: 24px;
            height: 24px;
            background: #00a699;
            border-radius: 50%;
            border: 3px solid white;
            display: flex;
            align-items: center;
            justify-content: center;
            color: white;
            font-size: 12px;
        }
        
        .host-card-info h3 {
            font-size: 22px;
            font-weight: 600;
            margin-bottom: 4px;
        }
        
        .host-subtitle {
            color: var(--text-secondary);
            font-size: 14px;
        }
        
        .host-stats {
            display: flex;
            flex-wrap: wrap;
            gap: 16px;
            padding: 16px 0;
            border-top: 1px solid var(--border);
            border-bottom: 1px solid var(--border);
            margin-bottom: 16px;
        }
        
        .host-stat-item {
            display: flex;
            align-items: center;
            gap: 8px;
            font-size: 14px;
        }
        
        .host-stat-item i {
            color: var(--airbnb-accent);
        }
        
        .host-response {
            display: flex;
            flex-direction: column;
            gap: 12px;
            margin-bottom: 24px;
        }
        
        .response-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            font-size: 14px;
        }
        
        .response-item strong {
            color: var(--text-primary);
        }
        
        .response-item span {
            color: var(--text-secondary);
        }
        
        .host-contact {
            margin-bottom: 12px;
        }
        
        .contact-button {
            width: 100%;
            padding: 14px 24px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 16px;
            cursor: pointer;
            transition: all 0.2s;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            margin-bottom: 12px;
        }
        
        .primary-btn {
            background: white;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
        }
        
        .primary-btn:hover {
            background: var(--background-secondary);
            border-color: var(--text-primary);
            transform: translateY(-1px);
            box-shadow: var(--shadow-hover);
        }
        
        .instagram-btn {
            background: white;
            color: var(--text-primary);
            border: 1px solid var(--border-color);
            text-decoration: none;
        }
        
        .instagram-btn i {
            background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }
        
        .instagram-btn:hover {
            background: #fafafa;
            border-color: #bc1888;
            transform: translateY(-1px);
            box-shadow: var(--shadow-hover);
        }
        
        /* Title Header Row with Instagram Button */
        .title-header-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
        }
        .title-header-row h1 {
            margin: 0;
            flex: 1;
        }
        .title-instagram-btn {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
            color: white;
            font-size: 18px;
            text-decoration: none;
            transition: transform 0.2s, opacity 0.2s;
            flex-shrink: 0;
        }
        .title-instagram-btn:hover {
            opacity: 0.9;
            transform: scale(1.1);
        }

        .host-protection {
            display: flex;
            gap: 12px;
            padding: 16px;
            background: var(--background-secondary);
            border-radius: 8px;
            margin-top: 16px;
        }
        
        .host-protection i {
            color: var(--text-secondary);
            font-size: 18px;
            flex-shrink: 0;
        }
        
        .host-protection p {
            font-size: 12px;
            color: var(--text-secondary);
            line-height: 1.5;
            margin: 0;
        }
        
        /* ======================
           Amenities Section
           ====================== */
        .amenities-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 12px;
        }
        
        .amenity-item {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 10px;
            padding: 20px 12px;
            border: 1px solid var(--border-color);
            border-radius: 12px;
            text-align: center;
            transition: border-color 0.2s, box-shadow 0.2s;
            cursor: default;
        }
        
        .amenity-item:hover {
            border-color: var(--text-primary);
            box-shadow: 0 2px 8px rgba(0,0,0,0.08);
        }
        
        .amenity-icon {
            font-size: 28px;
            color: var(--text-primary);
            min-width: unset;
        }
        
        .amenity-text {
            font-size: 13px;
            font-weight: 500;
            color: var(--text-primary);
            line-height: 1.4;
        }
        
        .show-all-amenities {
            margin-top: 24px;
            padding: 14px 24px;
            border: 1px solid var(--text-primary);
            background: white;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .show-all-amenities:hover {
            background: var(--background-secondary);
        }
        
        /* ======================
           Booking Card (Sidebar)
           ====================== */
        .booking-card {
            border: 1px solid #DDDDDD;
            border-radius: 12px;
            padding: 24px;
            box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
            background: white;
            position: sticky;
            top: 100px;
            overflow: visible;
        }
        
        .booking-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
        }
        
        .price-display {
            display: flex;
            align-items: baseline;
            gap: 4px;
            flex-wrap: wrap;
        }
        
        .price-amount {
            font-size: 24px;
            font-weight: 600;
            color: #222222;
        }
        
        .price-currency {
            font-size: 18px;
            color: #222222;
            font-weight: 500;
        }
        
        .price-period {
            font-size: 16px;
            color: #717171;
            font-weight: 400;
        }
        
        .rating-badge {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            font-weight: 600;
        }
        
        .rating-badge i {
            color: #FF385C;
            font-size: 12px;
        }
        
        .booking-dates {
            border: 1px solid #B0B0B0;
            border-radius: 8px;
            margin-bottom: 16px;
            transition: box-shadow 0.2s;
            cursor: pointer;
        }
        
        .booking-dates:hover {
            box-shadow: rgba(0, 0, 0, 0.1) 0px 2px 8px;
        }
        
        .date-input-group {
            display: grid;
            grid-template-columns: 1fr 1fr;
            border-bottom: 1px solid #EBEBEB;
        }
        
        .date-input-wrapper {
            padding: 12px;
            border-right: 1px solid #EBEBEB;
            cursor: pointer;
            transition: background-color 0.2s;
        }
        
        .date-input-wrapper:last-child {
            border-right: none;
        }
        
        .date-input-wrapper:hover {
            background-color: #F7F7F7;
        }
        
        .date-label {
            font-size: 10px;
            font-weight: 600;
            text-transform: uppercase;
            color: #222222;
            margin-bottom: 4px;
            display: block;
        }
        
        .date-input {
            width: 100%;
            border: none;
            font-size: 14px;
            color: #222222;
            background: transparent;
            outline: none;
            cursor: pointer;
            font-family: inherit;
        }
        
        .date-input::placeholder {
            color: #717171;
        }
        
        .reserve-btn {
            width: 100%;
            padding: 14px;
            background: linear-gradient(to right, #E61E4D, #D70466);
            color: white;
            border: none;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            margin-bottom: 8px;
        }
        
        .reserve-btn:hover {
            background: linear-gradient(to right, #D70466, #BD1E59);
            transform: scale(1.02);
        }
        
        .reserve-btn:active {
            transform: scale(0.98);
        }
        
        .booking-note {
            text-align: center;
            font-size: 14px;
            color: #717171;
            margin: 16px 0;
        }
        
        .price-breakdown {
            margin-top: 24px;
            padding-top: 24px;
            border-top: 1px solid #EBEBEB;
        }
        
        .price-row {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 16px;
            font-size: 16px;
            color: #222222;
        }
        
        .price-row-label {
            text-decoration: underline;
            text-decoration-style: dotted;
            text-underline-offset: 2px;
            cursor: help;
        }
        
        .price-row.total {
            font-weight: 600;
            font-size: 16px;
            padding-top: 16px;
            border-top: 1px solid #EBEBEB;
            margin-top: 4px;
            margin-bottom: 0;
        }
        
        .discount-badge {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #DEF7EC;
            color: #00693E;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            margin-right: 8px;
        }
        
        
        /* Sticky positioning for booking card */
        @media (min-width: 1024px) {
            .sidebar {
                position: relative;
            }
            
            .booking-card {
                position: sticky;
                top: 100px;
            }
        }

        /* ===== Desktop: gb-modal as static sidebar card (Airbnb-style) ===== */
        @media (min-width: 1129px) {
            .sidebar .gb-overlay {
                display: none !important;
            }
            .sidebar .gb-modal {
                position: static !important;
                transform: none !important;
                opacity: 1 !important;
                bottom: auto !important;
                left: auto !important;
                right: auto !important;
                max-width: none !important;
                width: 100% !important;
                max-height: none !important;
                border-radius: 16px !important;
                box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 20px !important;
                border: 1px solid #DDDDDD;
                padding-bottom: 0 !important;
                overflow: visible !important;
                display: flex !important;
                flex-direction: column;
            }
            .sidebar .gb-modal .gb-modal-body {
                overflow: visible !important;
            }
            .sidebar .gb-modal .gb-drag-handle {
                display: none !important;
            }
            .sidebar .gb-modal .gb-header {
                padding: 1rem 1.25rem 0.75rem;
                border-bottom: 1px solid #f1f5f9;
            }
            .sidebar .gb-modal .gb-close {
                display: none !important;
            }
            .sidebar .gb-modal .gb-step {
                padding: 0.75rem 1.25rem 1rem;
            }
            .sidebar .gb-modal .gb-price-bar {
                padding: 0.75rem 1.25rem;
                position: static;
                border-radius: 0 0 16px 16px;
            }
        }
        
        /* Make booking dates container relative for dropdown positioning */
        .booking-dates {
            position: relative;
        }
        
        /* Calendar Dropdown Styles - Airbnb Enhanced */
        .calendar-dropdown {
            position: absolute;
            top: 160px;
            left: 24px;
            right: 24px;
            background: white;
            border: 1px solid #DDDDDD;
            border-radius: 16px;
            box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 37px;
            padding: 32px;
            z-index: 1001;
            display: none;
            animation: slideDown 0.2s ease;
            width: calc(100% - 48px);
            direction: rtl;
            text-align: right;
            max-width: 420px;
        }
        
        .calendar-dropdown.active {
            display: block !important;
        }
        
        .calendar-months-container {
            direction: rtl;
        }
        
        .calendar-month-wrapper {
            direction: rtl;
        }
        
        .calendar-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 32px;
            padding: 0 8px;
            direction: rtl;
        }
        
        .calendar-nav-btn {
            background: white;
            border: 1px solid #DDDDDD;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: all 0.2s;
            color: #222222;
            font-size: 12px;
        }
        
        .calendar-nav-btn:hover:not(:disabled) {
            border-color: #222222;
            transform: scale(1.04);
        }
        
        .calendar-nav-btn:disabled {
            opacity: 0.2;
            cursor: not-allowed;
        }
        
        .calendar-month-title {
            font-size: 17px;
            font-weight: 600;
            color: #222222;
        }
        
        .calendar-grid {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
            margin-bottom: 0;
        }
        
        .calendar-weekday {
            text-align: center;
            font-size: 12px;
            font-weight: 800;
            color: #222222;
            padding: 12px 0;
            text-transform: uppercase;
        }
        
        .calendar-day {
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 14px;
            border-radius: 50%;
            cursor: pointer;
            transition: all 0.15s;
            color: #222222;
            position: relative;
            min-height: 48px;
            font-weight: 400;
            border: 1.5px solid transparent;
        }
        
        .calendar-day:hover:not(.disabled):not(.unavailable) {
            border: 1.5px solid #222222;
            transform: scale(1.05);
            z-index: 2;
        }
        
        .calendar-day.disabled {
            color: #DDDDDD;
            cursor: not-allowed;
            text-decoration: line-through;
        }
        
        .calendar-day.unavailable {
            color: #B0B0B0;
            text-decoration: line-through;
            cursor: not-allowed;
        }
        
        .calendar-day.today {
            background: #000000;
            color: white;
            font-weight: 600;
        }
        
        .calendar-day.selected {
            background: #222222;
            color: white;
            font-weight: 600;
        }
        
        .calendar-day.in-range {
            background: #F7F7F7;
            border-radius: 0;
        }
        
        .calendar-day.range-start {
            background: #222222;
            color: white;
            border-radius: 50% 0 0 50%;
            font-weight: 600;
        }
        
        .calendar-day.range-end {
            background: #222222;
            color: white;
            border-radius: 0 50% 50% 0;
            font-weight: 600;
        }
        
        .calendar-day.range-start.range-end {
            border-radius: 50%;
        }
        
        /* Add price indicator style */
        .calendar-day::after {
            content: '';
            position: absolute;
            bottom: 4px;
            left: 50%;
            transform: translateX(-50%);
            width: 4px;
            height: 4px;
            background: #717171;
            border-radius: 50%;
            opacity: 0;
        }
        
        .calendar-day:not(.disabled):not(.range-start):not(.range-end):hover::after {
            opacity: 1;
        }
        
        /* Animation for calendar month transition */
        @keyframes fadeIn {
            from {
                opacity: 0;
                transform: translateY(10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        
        .calendar-month-wrapper {
            animation: fadeIn 0.3s ease;
        }
        
        .calendar-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding-top: 24px;
            border-top: 1px solid #EBEBEB;
            margin-top: 24px;
        }
        
        .calendar-clear-btn {
            background: none;
            border: none;
            color: #222222;
            font-size: 16px;
            font-weight: 600;
            text-decoration: underline;
            cursor: pointer;
            padding: 10px 20px;
            transition: all 0.2s;
            border-radius: 8px;
        }
        
        .calendar-clear-btn:hover {
            background: #F7F7F7;
            color: #000000;
        }
        
        .calendar-close-btn {
            background: linear-gradient(to right, #E61E4D, #D70466);
            color: white;
            border: none;
            padding: 12px 28px;
            border-radius: 8px;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
            box-shadow: 0 1px 2px rgba(0,0,0,0.08);
        }
        
        .calendar-close-btn:hover {
            background: linear-gradient(to right, #D70466, #BD1E59);
            transform: scale(1.02);
            box-shadow: 0 2px 4px rgba(0,0,0,0.12);
        }
        
        .calendar-info {
            text-align: center;
            margin-bottom: 24px;
            padding: 16px;
            background: linear-gradient(135deg, #F7F7F7 0%, #EBEBEB 100%);
            border-radius: 12px;
            border: 1px solid #EBEBEB;
        }
        
        .calendar-info-title {
            font-size: 18px;
            font-weight: 700;
            color: #222222;
            margin-bottom: 6px;
        }
        
        .calendar-info-dates {
            font-size: 15px;
            color: #717171;
            font-weight: 500;
        }
        
        /* Mobile responsive */
        @media (max-width: 1024px) {
            .calendar-dropdown {
                max-width: 380px;
            }
        }
        
        @media (max-width: 768px) {
            .booking-card {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                border-radius: 12px 12px 0 0;
                box-shadow: rgba(0, 0, 0, 0.28) 0px -2px 16px;
                z-index: 50;
                padding: 16px;
            }
            
            .booking-header {
                margin-bottom: 16px;
            }
            
            .price-breakdown {
                display: none;
            }
            
            .booking-note {
                display: none;
            }
            
            .calendar-dropdown {
                position: fixed;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                max-width: 90%;
                max-height: 90vh;
                overflow-y: auto;
            }
        }
        
        /* ======================
           Reviews Section
           ====================== */
        .reviews-header {
            display: flex;
            align-items: center;
            gap: 12px;
            margin-bottom: 32px;
        }
        
        .reviews-header i {
            color: var(--airbnb-accent);
            font-size: 20px;
        }
        
        .reviews-summary {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-bottom: 32px;
        }
        
        .review-category {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        
        .review-category-name {
            font-size: 16px;
        }
        
        .review-category-score {
            font-weight: 600;
        }
        
        .review-bar {
            height: 4px;
            background: var(--border-color);
            border-radius: 2px;
            margin-top: 8px;
            overflow: hidden;
        }
        
        .review-bar-fill {
            height: 100%;
            background: var(--text-primary);
            transition: width 0.3s ease;
        }
        
        /* ======================
           Google Reviews - Vertical List
           ====================== */
        .gr-section {
            background: rgba(248, 249, 252, 0.5);
            border-radius: 16px;
            padding: 28px 24px !important;
            border: none;
        }
        
        .gr-header {
            display: flex;
            align-items: center;
            margin-bottom: 20px;
        }
        
        .gr-header-right {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .gr-google-icon {
            width: 38px;
            height: 38px;
            background: rgba(255,255,255,0.8);
            border-radius: 10px;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .gr-title {
            margin: 0 !important;
            font-size: 19px !important;
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .gr-count {
            font-size: 13px;
            color: var(--text-secondary);
            font-weight: 400;
        }
        
        .gr-list {
            display: flex;
            flex-direction: column;
            gap: 0;
        }
        
        .gr-card {
            background: rgba(255, 255, 255, 0.55);
            backdrop-filter: blur(6px);
            -webkit-backdrop-filter: blur(6px);
            border-radius: 14px;
            padding: 18px 20px;
            margin-bottom: 10px;
            border: 1px solid rgba(0, 0, 0, 0.03);
            transition: background 0.2s ease;
        }
        
        .gr-card:last-child {
            margin-bottom: 0;
        }
        
        .gr-card:hover {
            background: rgba(255, 255, 255, 0.8);
        }
        
        .gr-card-top {
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .gr-avatar-wrap {
            flex-shrink: 0;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            background: linear-gradient(135deg, #4285F4, #34A853, #FBBC05, #EA4335);
            padding: 2px;
        }
        
        .gr-avatar-img {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            object-fit: cover;
            background: #fff;
            border: 2px solid #fff;
        }
        
        .gr-avatar-fallback {
            width: 100%;
            height: 100%;
            border-radius: 50%;
            background: linear-gradient(135deg, #667eea, #764ba2);
            color: #fff;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            font-size: 17px;
            border: 2px solid #fff;
        }
        
        .gr-reviewer-info {
            display: flex;
            flex-direction: column;
            gap: 1px;
            min-width: 0;
            flex: 1;
        }
        
        .gr-reviewer-name {
            font-size: 14px;
            font-weight: 600;
            color: var(--text-primary);
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
        }
        
        .gr-review-time {
            font-size: 12px;
            color: var(--text-secondary);
        }
        
        .gr-stars {
            display: flex;
            gap: 1px;
            font-size: 14px;
            line-height: 1;
            flex-shrink: 0;
            margin-right: auto;
        }
        
        .gr-star-filled {
            color: #FBBC05;
        }
        
        .gr-star-empty {
            color: #E0E0E0;
        }
        
        .gr-text-wrap {
            margin-top: 10px;
            padding-right: 56px;
        }
        
        .gr-text {
            font-size: 14px;
            line-height: 1.8;
            color: #555;
            margin: 0;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        
        .gr-text.gr-text-expanded {
            -webkit-line-clamp: unset;
            display: block;
        }
        
        .gr-read-more {
            background: none;
            border: none;
            color: var(--text-primary);
            font-size: 13px;
            font-weight: 600;
            cursor: pointer;
            padding: 4px 0 0;
            text-decoration: underline;
            text-underline-offset: 3px;
        }
        
        .gr-read-more:hover {
            color: #4285F4;
        }
        
        /* ======================
           Location Section
           ====================== */
        .map-container {
            width: 100%;
            height: 480px;
            background: var(--background-secondary);
            border-radius: 12px;
            overflow: hidden;
            margin-top: 24px;
            position: relative;
            box-shadow: 0 2px 8px rgba(0,0,0,0.1);
        }
        
        /* تحسين مظهر الخريطة التفاعلية */
        .map-container .leaflet-container {
            height: 100%;
            width: 100%;
            border-radius: 12px;
            font-family: inherit;
        }
        
        .map-container .leaflet-popup-content-wrapper {
            border-radius: 12px;
            box-shadow: 0 3px 14px rgba(0,0,0,0.2);
        }
        
        .map-container .leaflet-popup-content {
            margin: 0;
            font-family: inherit;
        }
        
        .map-container .leaflet-popup-tip {
            background: white;
        }
        
        .map-container .custom-marker {
            background: transparent;
            border: none;
        }
        
        /* أزرار التكبير والتصغير */
        .map-container .leaflet-control-zoom {
            border: none;
            border-radius: 8px;
            overflow: hidden;
            box-shadow: 0 2px 8px rgba(0,0,0,0.15);
        }
        
        .map-container .leaflet-control-zoom a {
            width: 34px;
            height: 34px;
            line-height: 34px;
            font-size: 20px;
            border: none;
            color: #222;
            background: white;
        }
        
        .map-container .leaflet-control-zoom a:hover {
            background: #f7f7f7;
        }
        
        .location-description {
            font-size: 16px;
            line-height: 1.75;
            margin-top: 16px;
            color: var(--text-secondary);
        }
        
        /* ======================
           Things to Know Section
           ====================== */
        .things-to-know {
            border-top: 1px solid var(--border);
            padding-top: 48px;
            margin-top: 48px;
        }
        
        .things-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 48px;
            margin-top: 32px;
        }
        
        .things-column h3.things-subtitle {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 24px;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .things-subtitle i {
            color: var(--airbnb-accent);
            font-size: 20px;
        }
        
        .things-list {
            list-style: none;
            padding: 0;
            margin: 0;
        }
        
        .things-list li {
            display: flex;
            align-items: flex-start;
            gap: 12px;
            margin-bottom: 16px;
            font-size: 14px;
            line-height: 1.5;
            color: var(--text-secondary);
        }
        
        .things-list li i {
            color: var(--text-secondary);
            font-size: 16px;
            margin-top: 2px;
            flex-shrink: 0;
        }
        
        .things-list li strong {
            color: var(--text-primary);
            display: block;
            margin-bottom: 4px;
        }
        
        .things-footer {
            margin-top: 32px;
            padding-top: 24px;
            border-top: 1px solid var(--border);
        }
        
        .show-more-button {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            padding: 12px 24px;
            background: none;
            border: 1px solid var(--text-primary);
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s;
        }
        
        .show-more-button:hover {
            background: var(--background-secondary);
            transform: translateX(-2px);
        }
        
        /* ======================
           Similar Listings Section
           ====================== */
        .similar-section {
            padding: 48px 0 80px;
        }
        
        .similar-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 24px;
            margin-top: 32px;
        }
        
        .similar-card {
            display: block;
            text-decoration: none;
            color: inherit;
            border-radius: 12px;
            overflow: hidden;
            transition: all 0.3s ease;
            cursor: pointer;
        }
        
        .similar-card:hover {
            transform: translateY(-4px);
            box-shadow: var(--shadow-hover);
        }
        
        .similar-image {
            width: 100%;
            height: 240px;
            overflow: hidden;
            border-radius: 12px;
        }
        
        .similar-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }
        
        .similar-card:hover .similar-image img {
            transform: scale(1.05);
        }
        
        .similar-content {
            padding: 12px 0;
        }
        
        .similar-header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            margin-bottom: 8px;
        }
        
        .similar-name {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
            margin: 0;
            flex: 1;
            overflow: hidden;
            text-overflow: ellipsis;
            white-space: nowrap;
            padding-left: 8px;
        }
        
        .similar-rating {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            font-weight: 600;
        }
        
        .similar-rating i {
            color: var(--airbnb-accent);
            font-size: 12px;
        }
        
        .similar-location {
            font-size: 14px;
            color: var(--text-secondary);
            margin: 4px 0;
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .similar-location i {
            font-size: 12px;
        }
        
        .similar-features {
            display: flex;
            gap: 12px;
            font-size: 14px;
            color: var(--text-secondary);
            margin: 8px 0;
        }
        
        .similar-features span {
            display: flex;
            align-items: center;
            gap: 4px;
        }
        
        .similar-features i {
            font-size: 12px;
        }
        
        .similar-price {
            margin-top: 8px;
            padding-top: 8px;
            border-top: 1px solid var(--border);
        }
        
        .similar-price .price-amount {
            font-size: 16px;
            font-weight: 600;
            color: var(--text-primary);
        }
        
        .similar-price .price-period {
            font-size: 14px;
            color: var(--text-secondary);
        }
        
        /* ======================
           Lightbox (Instagram/Google Photos Style)
           ====================== */
        .lightbox {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: #000;
            z-index: 10000;
            flex-direction: column;
            transition: opacity 0.25s ease;
        }
        
        .lightbox.active {
            display: flex;
        }
        
        /* Header bar */
        .lb-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 12px 16px;
            position: relative;
            z-index: 10002;
            flex-shrink: 0;
        }
        
        .lb-counter {
            color: white;
            font-size: 15px;
            font-weight: 600;
            direction: ltr;
        }
        
        .lb-close {
            background: none;
            border: none;
            color: white;
            font-size: 22px;
            cursor: pointer;
            width: 40px;
            height: 40px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: background 0.2s;
            -webkit-tap-highlight-color: transparent;
        }
        
        .lb-close:hover {
            background: rgba(255,255,255,0.15);
        }
        
        /* Main image area */
        .lb-body {
            flex: 1;
            position: relative;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            touch-action: pan-y;
            transition: transform 0.2s ease, opacity 0.2s ease;
        }
        
        .lb-body.dragging {
            transition: none;
        }
        
        /* Slide container — slides are stacked via absolute positioning */
        .lb-track {
            position: relative;
            width: 100%;
            height: 100%;
        }
        
        .lb-slide {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 0 8px;
            opacity: 0;
            visibility: hidden;
            transition: opacity 0.25s ease;
        }
        
        .lb-slide.active {
            opacity: 1;
            visibility: visible;
        }
        
        .lb-slide img,
        .lb-slide video {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            border-radius: 4px;
            user-select: none;
            -webkit-user-drag: none;
        }
        
        /* Desktop nav arrows */
        .lb-nav {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(255,255,255,0.85);
            border: none;
            width: 44px;
            height: 44px;
            border-radius: 50%;
            cursor: pointer;
            font-size: 18px;
            color: #222;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s;
            z-index: 10002;
        }
        
        .lb-nav:hover {
            background: white;
            transform: translateY(-50%) scale(1.1);
        }
        
        .lb-prev { left: 16px; }
        .lb-next { right: 16px; }
        
        /* Thumbnails strip */
        .lb-thumbs {
            display: flex;
            gap: 6px;
            padding: 10px 16px;
            padding-bottom: calc(10px + env(safe-area-inset-bottom));
            overflow-x: auto;
            scrollbar-width: none;
            flex-shrink: 0;
            justify-content: center;
        }
        
        .lb-thumbs::-webkit-scrollbar {
            display: none;
        }
        
        .lb-thumb {
            flex: 0 0 48px;
            width: 48px;
            height: 48px;
            border-radius: 6px;
            overflow: hidden;
            cursor: pointer;
            opacity: 0.4;
            transition: opacity 0.2s, transform 0.2s;
            border: 2px solid transparent;
        }
        
        .lb-thumb.active {
            opacity: 1;
            border-color: white;
            transform: scale(1.08);
        }
        
        .lb-thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
        
        /* Mobile adjustments */
        @media (max-width: 768px) {
            .lb-nav {
                display: none;
            }
            .lb-thumb {
                flex: 0 0 40px;
                width: 40px;
                height: 40px;
            }
        }
        
        /* ======================
           Responsive Design
           ====================== */
        @media (max-width: 1128px) {
            .page-container {
                padding: 0 40px;
            }
            
            .content-layout {
                display: flex;
                flex-direction: column;
                gap: 0;
            }

            /* Make main-content transparent to layout so sections become direct flex children */
            .main-content {
                display: contents;
            }

            .sidebar {
                position: static;
                order: 4; /* appears after amenities (3), before map (5) */
            }

            /* ===== Mobile section ordering: booking → map → policies ===== */
            .s-overview  { order: 1; }
            .host-section { order: 2; }
            .s-amenities { order: 3; }
            /* sidebar → order: 4 */
            .s-map       { order: 5; }
            .s-policies  { order: 6; }
            .s-reviews   { order: 7; }
            .s-google-block { order: 8; }
            
            .similar-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 20px;
            }
        }
        
        @media (max-width: 768px) {
            .page-container {
                padding: 0;
            }
            
            .gallery-grid {
                grid-template-columns: 1fr;
                grid-template-rows: 400px;
                height: auto;
            }
            
            .gallery-item:first-child {
                grid-row: span 1;
            }
            
            .gallery-item:not(:first-child) {
                display: none;
            }
            
            /* Desktop gallery hidden on mobile */
            .hero-gallery {
                margin: 0;
                border-radius: 0;
            }
            .hero-gallery .gallery-grid {
                display: none;
            }
            .hero-gallery .show-all-photos {
                display: none;
            }
            
            /* ========================================
               Mobile Top Actions (Gathern Style)
               ======================================== */
            .mobile-top-actions {
                display: flex;
                position: absolute;
                top: 0;
                left: 0;
                right: 0;
                z-index: 10;
                justify-content: space-between;
                align-items: center;
                padding: 14px 16px;
                padding-top: calc(14px + env(safe-area-inset-top));
                background: linear-gradient(to bottom, rgba(0,0,0,0.25) 0%, transparent 100%);
            }
            
            .mobile-top-actions .top-btn {
                width: 36px;
                height: 36px;
                border-radius: 50%;
                background: none;
                border: none;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 18px;
                color: #fff;
                cursor: pointer;
                box-shadow: none;
                transition: transform 0.15s, opacity 0.15s;
                text-decoration: none;
                -webkit-tap-highlight-color: transparent;
                text-shadow: 0 1px 4px rgba(0,0,0,0.5);
            }
            
            .mobile-top-actions .top-btn:active {
                transform: scale(0.9);
                opacity: 0.7;
            }
            
            .mobile-top-actions .top-btn-back {
                background: rgba(255,255,255,0.92);
                color: #222;
                box-shadow: 0 2px 8px rgba(0,0,0,0.18);
                text-shadow: none;
            }
            
            .mobile-top-actions .top-btn-back:active {
                background: rgba(255,255,255,1);
            }
            
            .mobile-top-actions .top-actions-group {
                display: flex;
                gap: 10px;
                align-items: center;
            }
            
            /* ========================================
               Mobile Content Card (Gathern Style)
               ======================================== */
            .mobile-content-card {
                background: #fff;
                border-top-left-radius: 25px;
                border-top-right-radius: 25px;
                transform: translateY(-22px);
                position: relative;
                z-index: 1;
                padding: 20px 22px 60px;
            }
            
            .mobile-content-card .drag-handle {
                display: block;
                width: 40px;
                height: 4px;
                background: #ddd;
                border-radius: 4px;
                margin: 0 auto 16px;
            }
            
            /* Title actions moved to overlay on mobile */
            .title-section .title-actions {
                display: none;
            }
            
            .title-section .title-meta {
                display: none;
            }
            
            /* Mobile-only location under title */
            .title-location-mobile {
                display: flex;
                align-items: center;
                gap: 6px;
                font-size: 13px;
                color: #717171;
                margin-top: 6px;
            }
            
            .title-location-mobile i {
                color: var(--primary-color, #7CB342);
                font-size: 12px;
            }
            
            .title-section {
                padding: 0 0 16px;
                border-bottom: 1px solid #eee;
            }
            
            /* Title Host Stats - Mobile */
            .title-host-stats {
                display: flex;
                align-items: center;
                gap: 16px;
                margin-top: 12px;
                padding: 12px 0;
                border-top: 1px solid #f0f0f0;
            }
            
            .title-stat-item {
                display: flex;
                align-items: center;
                gap: 6px;
                font-size: 13px;
                color: #484848;
            }
            
            .title-stat-item i {
                color: var(--primary-color, #7CB342);
                font-size: 14px;
            }
            
            .title-stat-item i.fa-star {
                color: #FFB400;
            }
            
            /* Hide original host-stats on mobile (moved to title-section) */
            .host-section .host-stats {
                display: none;
            }
            
            /* Hide entire host-section on mobile */
            .host-section {
                display: none;
            }

            .action-btn-desktop {
                display: none !important;
            }

            /* ========================================
               Mobile Swipe Gallery (Gathern Style)
               ======================================== */
            .mobile-gallery {
                display: flex;
                position: relative;
                width: 100%;
                overflow: hidden;
                height: 310px;
                background-color: rgb(243, 243, 243);
            }
            
            .mobile-gallery-track {
                display: flex;
                overflow-x: auto;
                scroll-snap-type: x mandatory;
                -webkit-overflow-scrolling: touch;
                scrollbar-width: none;
                width: 100%;
                height: 100%;
            }
            
            .mobile-gallery-track::-webkit-scrollbar {
                display: none;
            }
            
            .mobile-gallery-slide {
                flex: 0 0 100%;
                width: 100%;
                height: 310px;
                scroll-snap-align: start;
                position: relative;
                cursor: pointer;
            }
            
            .mobile-gallery-slide img,
            .mobile-gallery-slide video {
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
            }
            
            /* Dots pagination */
            .mobile-gallery-dots {
                position: absolute;
                bottom: 36px;
                left: 50%;
                transform: translateX(-50%);
                display: flex;
                gap: 6px;
                z-index: 5;
            }
            
            .mobile-gallery-dot {
                width: 7px;
                height: 7px;
                border-radius: 50%;
                background: rgba(255,255,255,0.5);
                transition: background 0.3s, transform 0.3s;
            }
            
            .mobile-gallery-dot.active {
                background: white;
                transform: scale(1.3);
            }
            
            /* Counter badge */


            /* ========================================
               Photo Grid Modal (Phase 1 - Instagram Grid)
               ======================================== */
            .photo-grid-modal {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: #fff;
                z-index: 10001;
                flex-direction: column;
                animation: pgmSlideUp 0.3s ease;
            }

            .photo-grid-modal.active {
                display: flex;
            }

            @keyframes pgmSlideUp {
                from { transform: translateY(100%); }
                to { transform: translateY(0); }
            }

            .pgm-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 12px 16px;
                padding-top: calc(12px + env(safe-area-inset-top));
                border-bottom: 1px solid #eee;
                flex-shrink: 0;
            }

            .pgm-close {
                background: none;
                border: none;
                font-size: 20px;
                color: #333;
                cursor: pointer;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                -webkit-tap-highlight-color: transparent;
            }

            .pgm-title {
                font-size: 16px;
                font-weight: 700;
                color: #222;
            }

            .pgm-grid {
                flex: 1;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                display: grid;
                grid-template-columns: repeat(3, 1fr);
                gap: 2px;
                padding: 2px;
                align-content: start;
            }

            .pgm-grid-item {
                position: relative;
                padding-bottom: 100%;
                overflow: hidden;
                cursor: pointer;
                background: #f0f0f0;
            }

            .pgm-grid-item img,
            .pgm-grid-item video {
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100%;
                object-fit: cover;
                display: block;
                transition: transform 0.15s ease;
            }

            .pgm-grid-item:active img,
            .pgm-grid-item:active video {
                transform: scale(0.95);
            }

            /* ========================================
               Vertical Gallery Modal (Phase 2)
               ======================================== */
            .vgallery-modal {
                display: none;
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                bottom: 0;
                background: #000;
                z-index: 10001;
                flex-direction: column;
            }

            .vgallery-modal.active {
                display: flex;
            }

            .vgm-header {
                display: flex;
                align-items: center;
                justify-content: space-between;
                padding: 10px 12px;
                padding-top: calc(10px + env(safe-area-inset-top));
                position: fixed;
                top: 0;
                left: 0;
                right: 0;
                z-index: 10003;
                background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
            }

            .vgm-close,
            .vgm-back {
                background: none;
                border: none;
                color: white;
                font-size: 20px;
                cursor: pointer;
                width: 40px;
                height: 40px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                -webkit-tap-highlight-color: transparent;
            }

            .vgm-counter {
                color: white;
                font-size: 15px;
                font-weight: 600;
                direction: ltr;
            }

            .vgm-track {
                flex: 1;
                overflow-y: auto;
                -webkit-overflow-scrolling: touch;
                scroll-snap-type: y proximity;
                padding-top: calc(50px + env(safe-area-inset-top));
            }

            .vgm-slide img {
                width: 100%;
                height: auto;
                display: block;
                user-select: none;
                -webkit-user-drag: none;
            }

            .vgm-slide video {
                width: 100%;
                height: auto;
                display: block;
            }

            /* Image Number Badge in Vertical Gallery (#6) */
            .vgm-slide-badge {
                position: absolute;
                top: 12px;
                left: 12px;
                background: rgba(0,0,0,0.55);
                color: white;
                font-size: 12px;
                font-weight: 600;
                padding: 3px 10px;
                border-radius: 10px;
                pointer-events: none;
                direction: ltr;
                z-index: 2;
            }

            /* Video Duration Badge in Grid (#3) */
            .pgm-video-badge {
                position: absolute;
                top: 8px;
                left: 8px;
                background: rgba(0,0,0,0.6);
                color: white;
                min-width: 26px;
                height: 26px;
                border-radius: 13px;
                display: flex;
                align-items: center;
                justify-content: center;
                font-size: 10px;
                pointer-events: none;
                padding: 0 6px;
                gap: 4px;
            }

            /* Progressive Blur Loading (#8) */
            .pgm-grid-item img,
            .mobile-gallery-slide img {
                transition: filter 0.4s ease;
            }
            .pgm-grid-item img.img-loading,
            .mobile-gallery-slide img.img-loading {
                filter: blur(12px);
            }

            /* Long-press Preview (#2) */
            .longpress-preview {
                display: none;
                position: fixed;
                top: 0; left: 0; right: 0; bottom: 0;
                background: rgba(0,0,0,0.85);
                z-index: 10002;
                align-items: center;
                justify-content: center;
                padding: 20px;
            }
            .longpress-preview.active {
                display: flex;
            }
            .longpress-preview img {
                max-width: 100%;
                max-height: 90vh;
                border-radius: 12px;
                object-fit: contain;
            }

            /* Pinch/double-tap zoom (#4, #5) */
            .vgm-slide {
                width: 100%;
                scroll-snap-align: start;
                position: relative;
                overflow: hidden;
            }
            .vgm-slide img.zoomed {
                transform-origin: var(--zoom-x, center) var(--zoom-y, center);
                z-index: 10;
                position: relative;
            }
            
            .overview-features {
                flex-direction: row; /* keep horizontal on mobile too */
                padding: 2px 0;
            }
            
            .overview-feature {
                padding: 16px 12px;
            }
            
            .feature-value {
                font-size: 17px;
            }
            
            .feature-icon {
                font-size: 22px !important;
            }
            
            .amenities-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 8px;
            }

            .amenity-item {
                flex-direction: row;
                padding: 10px 8px;
                gap: 6px;
                text-align: right;
                justify-content: flex-start;
            }

            .amenity-item span:first-child {
                font-size: 16px !important;
                min-width: 20px !important;
            }

            .amenity-text {
                font-size: 11px;
                line-height: 1.3;
            }
            
            .title-section h1 {
                font-size: 22px;
            }
            
            .similar-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 16px;
            }
            
            .content-layout {
                padding: 0;
                gap: 0;
            }

            /* ========================================
               Mobile Compact: تقليل المسافات والهوامش
               ======================================== */
            .section {
                padding: 16px 0;
            }

            .section-title {
                font-size: 18px;
                margin-bottom: 12px;
            }

            .mobile-content-card {
                padding: 14px 16px 60px;
            }

            .mobile-content-card .drag-handle {
                margin-bottom: 10px;
            }

            .title-section {
                padding: 0 0 10px;
            }

            .title-section h1 {
                font-size: 20px;
                line-height: 1.3;
            }

            .title-host-stats {
                margin-top: 8px;
                padding: 8px 0;
            }

            .host-info {
                gap: 10px;
                margin-bottom: 12px;
            }

            .host-avatar {
                width: 44px;
                height: 44px;
                font-size: 20px;
            }

            .overview-features {
                padding: 0;
                margin-bottom: 0;
            }

            .overview-feature {
                padding: 10px 8px;
            }

            .feature-value {
                font-size: 15px;
            }

            .feature-label {
                font-size: 11px;
            }

            .feature-icon {
                font-size: 18px !important;
            }

            .amenities-grid {
                grid-template-columns: repeat(3, 1fr);
                gap: 6px;
            }

            .amenity-item {
                padding: 7px 6px;
                gap: 5px;
                border-radius: 8px;
            }

            .amenity-item span:first-child {
                font-size: 14px !important;
                min-width: 18px !important;
            }

            .amenity-text {
                font-size: 10.5px;
            }

            .show-all-amenities {
                margin-top: 12px;
                padding: 10px 16px;
                font-size: 13px;
            }

            .reviews-header {
                margin-bottom: 16px;
            }

            .reviews-summary {
                gap: 10px;
                margin-bottom: 16px;
            }

            .review-card {
                padding: 12px;
            }

            .map-container {
                height: 200px;
                border-radius: 10px;
            }

            .location-description {
                font-size: 13px;
                margin-top: 8px;
            }

            .google-review-item {
                padding: 12px !important;
            }

            .google-reviews-list {
                gap: 12px !important;
            }

            /* Google Reviews - Mobile */
            .gr-section {
                padding: 20px 14px !important;
                border-radius: 12px;
            }
            
            .gr-card {
                padding: 14px 16px;
            }
            
            .gr-title {
                font-size: 17px !important;
            }
            
            .gr-text-wrap {
                padding-right: 0;
            }
            
            .gr-avatar-wrap {
                width: 40px;
                height: 40px;
            }

            /* Opening hours & tags */
            .opening-hours-grid {
                gap: 4px;
            }

            .tags-container {
                gap: 6px;
            }

            .tag {
                font-size: 12px;
                padding: 4px 10px;
            }

            .similar-section {
                padding: 0 12px;
            }
        }
        
        @media (max-width: 480px) {
            body {
                padding-top: 0;
            }
            
            .page-container {
                padding: 0;
            }
            
            .mobile-content-card {
                padding: 20px 16px 60px;
            }
            
            .content-layout {
                gap: 0;
                padding: 0;
            }
            
            .similar-grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            
            .similar-section {
                padding: 0 16px;
            }
        }

        /* ========================================
           Enhanced Booking Card Styles
           ======================================== */
        
        .booking-card-enhanced {
            display: none;
            border: 1px solid #DDDDDD;
            border-radius: 16px;
            padding: 24px;
            box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 20px;
            background: white;
            position: sticky;
            top: 100px;
            transition: all 0.3s ease;
        }

        .booking-card-enhanced:hover {
            box-shadow: rgba(0, 0, 0, 0.15) 0px 8px 25px;
        }

        /* Enhanced Header */
        .booking-header-enhanced {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 24px;
            padding-bottom: 16px;
        }

        .price-display-enhanced {
            display: flex;
            align-items: baseline;
            gap: 6px;
            flex-wrap: wrap;
        }

        .price-amount-enhanced {
            font-size: 22px;
            font-weight: 600;
            color: #222222;
        }

        .price-period-enhanced {
            font-size: 16px;
            color: #717171;
            font-weight: 400;
        }

        /* Period Selection */
        .period-selection-section {
            margin-bottom: 16px;
        }
        .section-label-sm {
            display: block;
            font-size: 13px;
            font-weight: 600;
            color: #717171;
            margin-bottom: 8px;
        }
        .period-options {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
        }
        .period-option {
            flex: 1;
            min-width: calc(50% - 4px);
            display: flex;
            flex-direction: column;
            align-items: center;
            padding: 10px 8px;
            border: 2px solid #e2e8f0;
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.2s ease;
            background: white;
            text-align: center;
        }
        .period-option:hover {
            border-color: #222;
        }
        .period-option.selected {
            border-color: #222;
            background: #f8fafc;
        }
        .period-option input[type="radio"] {
            display: none;
        }
        .period-option-all {
            border-style: dashed;
            border-color: #cbd5e1;
        }
        .period-option-all.active {
            border-style: solid;
            border-color: #222;
            background: #f8fafc;
        }
        /* Shift group for "Show All" mode */
        .shift-group {
            margin-bottom: 14px;
        }
        .shift-group:last-child {
            margin-bottom: 0;
        }
        .shift-group-header {
            display: flex;
            align-items: center;
            gap: 6px;
            font-size: 0.82rem;
            font-weight: 600;
            color: #334155;
            margin-bottom: 6px;
            padding: 6px 10px;
            background: #f1f5f9;
            border-radius: 8px;
        }
        .shift-group-header .sg-price {
            margin-right: auto;
            font-weight: 500;
            color: #64748b;
            font-size: 0.78rem;
        }
        .shift-group-header .sg-icon {
            width: 18px;
            height: 18px;
            display: flex;
            align-items: center;
            justify-content: center;
            background: #e2e8f0;
            border-radius: 50%;
            font-size: 0.65rem;
            color: #475569;
        }
        .period-label {
            font-size: 13px;
            font-weight: 600;
            color: #222;
        }
        .period-price {
            font-size: 12px;
            color: #717171;
            margin-top: 2px;
        }

        /* Time Picker / Shift Cards */
        .time-picker-section {
            margin-bottom: 16px;
        }
        .time-slots-container {
            max-height: none;
            overflow-y: visible;
        }
        .time-slots-hint {
            text-align: center;
            color: #94a3b8;
            font-size: 13px;
            padding: 16px 0;
        }
        /* Skeleton loading for shift cards */
        .shift-skeleton-grid {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }
        .skeleton-shift-card {
            height: 48px;
            border-radius: 10px;
            background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
            background-size: 200% 100%;
            animation: skeletonPulse 1.2s ease-in-out infinite;
        }
        @keyframes skeletonPulse {
            0% { background-position: 200% 0; }
            100% { background-position: -200% 0; }
        }
        /* Shift Cards — Vertical List */
        .shift-cards-grid {
            display: flex;
            flex-direction: column;
            gap: 8px;
            animation: slotsFadeIn 0.3s ease;
        }
        @keyframes slotsFadeIn {
            from { opacity: 0; transform: translateY(6px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .shift-card {
            display: flex;
            flex-direction: row;
            align-items: center;
            justify-content: center;
            padding: 13px 16px;
            border: 1.5px solid #e2e8f0;
            border-radius: 10px;
            background: #fff;
            cursor: pointer;
            transition: all 0.2s ease;
            font-family: inherit;
            width: 100%;
        }
        .shift-card:hover:not(.occupied) {
            border-color: #1e293b;
            box-shadow: 0 2px 8px rgba(0,0,0,0.06);
        }
        .shift-card.selected {
            border-color: #1e293b;
            background: #1e293b;
            color: #fff;
        }
        .shift-card.occupied {
            background: #f1f5f9;
            border-color: #e2e8f0;
            cursor: not-allowed;
            pointer-events: none;
        }
        .shift-card.occupied .slot-time { color: #94a3b8; }
        .shift-card.occupied .t-num,
        .shift-card.occupied .t-sfx { text-decoration: line-through; }
        .slot-time {
            display: grid;
            grid-template-columns: minmax(42px, auto) 22px 14px minmax(42px, auto) 22px;
            align-items: center;
            justify-items: center;
            gap: 0 4px;
            direction: ltr;
            font-size: 0.95rem;
            font-weight: 600;
            color: #334155;
        }
        .t-num { font-variant-numeric: tabular-nums; justify-self: end; }
        .t-sfx { font-size: 0.8rem; font-weight: 700; color: #64748b; justify-self: start; }
        .t-sep { color: #cbd5e1; font-weight: 400; }
        .shift-card.selected .slot-time,
        .shift-card.selected .t-num,
        .shift-card.selected .t-sfx,
        .shift-card.selected .t-sep { color: #fff; }
        .shift-card.occupied .t-sep { color: #94a3b8; text-decoration: none; }
        .t-date {
            grid-column: 4 / 6;
            font-size: 0.68rem;
            font-weight: 600;
            color: #92400e;
            background: #fef3c7;
            padding: 1px 6px;
            border-radius: 4px;
            justify-self: start;
            margin-top: -2px;
            white-space: nowrap;
        }
        .shift-card.selected .t-date {
            background: rgba(254,243,199,0.2);
            color: #fde68a;
        }

        /* Occasion badge */
        .occasion-badge-enhanced {
            display: inline-flex;
            align-items: center;
            gap: 4px;
            background: #FEF3C7;
            color: #92400E;
            padding: 2px 8px;
            border-radius: 8px;
            font-size: 12px;
            font-weight: 600;
        }

        .rating-badge-enhanced {
            display: flex;
            align-items: center;
            gap: 4px;
            font-size: 14px;
            font-weight: 600;
        }

        .rating-star {
            color: #FF385C;
            font-size: 12px;
        }

        .rating-value {
            color: #222222;
        }

        .rating-count {
            color: #717171;
            text-decoration: underline;
        }

        /* Enhanced Date Picker */
        .date-picker-section {
            margin-bottom: 16px;
        }

        .date-picker-container {
            position: relative;
        }

        .date-picker-trigger {
            border: 1px solid #B0B0B0;
            border-radius: 8px;
            padding: 12px 16px;
            display: flex;
            align-items: center;
            gap: 12px;
            cursor: pointer;
            transition: border-color 0.2s ease;
            background: white;
        }

        .date-picker-trigger:hover {
            border-color: #222222;
        }

        .date-picker-trigger.active {
            border-color: #222222;
            border-width: 2px;
        }

        .date-icon {
            color: #717171;
            font-size: 16px;
            flex-shrink: 0;
        }

        .date-display {
            flex: 1;
        }

        .date-text {
            font-size: 16px;
            color: #222222;
            font-weight: 600;
        }

        .date-text.placeholder {
            color: #717171;
            font-weight: 400;
        }

        .dropdown-arrow {
            color: #717171;
            font-size: 12px;
            transition: transform 0.2s ease;
            flex-shrink: 0;
        }

        .date-picker-trigger.active .dropdown-arrow {
            transform: rotate(180deg);
        }

        /* Enhanced Calendar Popup */
        .calendar-popup {
            position: absolute;
            top: 100%;
            left: 0;
            right: 0;
            background: white;
            border: 1px solid #DDDDDD;
            border-radius: 16px;
            box-shadow: rgba(0, 0, 0, 0.15) 0px 10px 37px;
            padding: 24px;
            z-index: 1001;
            margin-top: 8px;
            animation: slideDown 0.3s ease;
        }

        .calendar-info-section {
            background: #F7F7F7;
            border-radius: 12px;
            padding: 16px;
            margin-bottom: 20px;
            text-align: center;
        }

        .selected-dates-info {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }

        .nights-count {
            font-size: 16px;
            font-weight: 600;
            color: #222222;
        }

        .dates-range {
            font-size: 14px;
            color: #717171;
        }

        .calendar-selection-hint {
            text-align: center;
            padding: 16px;
            background: #F7F7F7;
            border-radius: 12px;
            margin-bottom: 20px;
            color: #222222;
            font-size: 15px;
            font-weight: 600;
        }

        /* Calendar Grid */
        .calendar-months-grid {
            margin-bottom: 20px;
        }

        .calendar-month {
            width: 100%;
        }

        .calendar-month-header {
            display: flex;
            align-items: center;
            justify-content: space-between;
            margin-bottom: 16px;
        }

        .calendar-month-title {
            font-size: 16px;
            font-weight: 600;
            color: #222222;
            margin: 0;
        }

        .calendar-nav-btn {
            width: 32px;
            height: 32px;
            border: none;
            border-radius: 50%;
            background: white;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: background-color 0.2s ease;
        }

        .calendar-nav-btn:hover {
            background: #F7F7F7;
        }

        .calendar-nav-btn i {
            color: #222222;
            font-size: 14px;
        }

        .calendar-weekdays {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
            margin-bottom: 8px;
        }

        .calendar-weekday {
            text-align: center;
            padding: 8px;
            font-size: 12px;
            font-weight: 600;
            color: #717171;
        }

        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 1px;
        }

        .calendar-day {
            width: 40px;
            height: 40px;
            border: none;
            background: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            border-radius: 50%;
            font-size: 14px;
            font-weight: 400;
            color: #222222;
            transition: all 0.2s ease;
            margin: 1px;
        }

        .calendar-day:hover:not(.disabled):not(.selected) {
            background: #F7F7F7;
        }

        .calendar-day.selected {
            background: #222222;
            color: white;
        }

        .calendar-day.in-range {
            background: #F7F7F7;
        }

        .calendar-day.disabled {
            color: #DDDDDD;
            cursor: not-allowed;
        }

        .calendar-day.other-month {
            color: #DDDDDD;
        }

        /* Calendar Actions */
        .calendar-actions {
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 12px;
        }

        .calendar-clear-btn {
            background: none;
            border: none;
            color: #222222;
            font-weight: 600;
            text-decoration: underline;
            cursor: pointer;
            padding: 8px 0;
            font-size: 14px;
        }

        .calendar-close-btn {
            background: #222222;
            border: none;
            color: white;
            padding: 12px 24px;
            border-radius: 8px;
            font-weight: 600;
            cursor: pointer;
            font-size: 14px;
            transition: background-color 0.2s ease;
        }

        .calendar-close-btn:hover {
            background: #484848;
        }

        /* Guest Details Form */
        .guest-details-section {
            margin-bottom: 16px;
            padding-top: 16px;
            border-top: 1px solid #EBEBEB;
        }

        .form-group {
            margin-bottom: 16px;
        }

        .form-label {
            display: block;
            font-size: 14px;
            font-weight: 600;
            color: #222222;
            margin-bottom: 8px;
        }

        .form-input {
            width: 100%;
            border: 1px solid #B0B0B0;
            border-radius: 8px;
            padding: 12px 16px;
            font-size: 16px;
            transition: border-color 0.2s ease;
        }

        .form-input:focus {
            outline: none;
            border-color: #222222;
            border-width: 2px;
        }

        /* Enhanced Booking Button */
        .book-now-btn {
            width: 100%;
            background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
            border: none;
            border-radius: 8px;
            padding: 14px 24px;
            color: white;
            font-size: 16px;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.2s ease;
            margin-bottom: 16px;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 8px;
            position: relative;
            overflow: hidden;
        }

        .book-now-btn:hover {
            background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
            transform: translateY(-1px);
            box-shadow: 0 4px 14px rgba(22,163,74,0.35);
        }

        .book-now-btn:active {
            transform: scale(0.96);
            box-shadow: 0 1px 4px rgba(22,163,74,0.2);
        }

        .book-now-btn::after {
            content: '';
            position: absolute;
            inset: 0;
            background: radial-gradient(circle at var(--x, 50%) var(--y, 50%), rgba(255,255,255,0.3) 0%, transparent 60%);
            opacity: 0;
            transition: opacity 0.4s ease;
            pointer-events: none;
        }

        .book-now-btn.ripple::after {
            opacity: 1;
            animation: btnRipple 0.6s ease forwards;
        }

        @keyframes btnRipple {
            0% { transform: scale(0); opacity: 0.5; }
            100% { transform: scale(2.5); opacity: 0; }
        }

        .btn-text {
            font-size: 16px;
        }

        .btn-price {
            font-weight: 600;
        }

        .booking-disclaimer {
            text-align: center;
            font-size: 14px;
            color: #717171;
            margin-bottom: 16px;
        }

        /* Enhanced Price Breakdown */
        .price-breakdown-enhanced {
            padding: 16px 0;
        }

        .price-breakdown-item {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 12px;
        }

        .price-item-label {
            font-size: 16px;
            color: #222222;
        }

        .price-item-value {
            font-size: 16px;
            color: #222222;
        }

        .discount-item .price-item-label {
            display: flex;
            align-items: center;
            gap: 8px;
        }

        .discount-badge-enhanced {
            background: #00693E;
            color: white;
            padding: 4px 8px;
            border-radius: 4px;
            font-size: 12px;
            font-weight: 600;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .discount-value {
            color: #00693E;
            font-weight: 600;
        }

        .price-breakdown-divider {
            height: 1px;
            background: #EBEBEB;
            margin: 16px 0;
        }

        .total-item {
            padding-top: 8px;
            border-top: 1px solid #EBEBEB;
            margin-bottom: 0;
        }

        .total-label {
            font-weight: 600;
            font-size: 16px;
        }

        .total-value {
            font-weight: 600;
            font-size: 16px;
        }

        /* Animation */
        @keyframes slideDown {
            from {
                opacity: 0;
                transform: translateY(-10px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ======================
           Share Modal Styles
           ====================== */
        .share-modal-overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9999;
            animation: fadeIn 0.2s ease;
        }

        .share-modal-overlay.active {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .share-modal {
            background: white;
            border-radius: 16px;
            width: 90%;
            max-width: 550px;
            padding: 32px;
            position: relative;
            animation: slideUp 0.3s ease;
            box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
        }

        .share-modal-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 24px;
            padding-bottom: 16px;
            border-bottom: 1px solid var(--border-color);
        }

        .share-modal-title {
            font-size: 22px;
            font-weight: 600;
            color: var(--text-primary);
        }

        .share-modal-close {
            background: none;
            border: none;
            font-size: 24px;
            color: var(--text-secondary);
            cursor: pointer;
            width: 32px;
            height: 32px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            transition: all 0.2s ease;
        }

        .share-modal-close:hover {
            background: var(--background-secondary);
            color: var(--text-primary);
        }

        .share-options {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
            gap: 16px;
            margin-bottom: 24px;
        }

        .share-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 8px;
            padding: 16px;
            border-radius: 12px;
            background: var(--background-secondary);
            cursor: pointer;
            transition: all 0.2s ease;
            text-decoration: none;
            color: var(--text-primary);
        }

        .share-option:hover {
            transform: translateY(-4px);
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
            background: #f0f0f0;
        }

        .share-option-icon {
            width: 48px;
            height: 48px;
            display: flex;
            align-items: center;
            justify-content: center;
            border-radius: 50%;
            font-size: 24px;
            color: white;
        }

        .share-option-icon.whatsapp { background: #25D366; }
        .share-option-icon.facebook { background: #1877F2; }
        .share-option-icon.twitter { background: #1DA1F2; }
        .share-option-icon.telegram { background: #0088cc; }
        .share-option-icon.email { background: #EA4335; }
        .share-option-icon.copy { background: #6c757d; }

        .share-option-label {
            font-size: 14px;
            font-weight: 500;
        }

        .share-link-container {
            display: flex;
            gap: 8px;
            padding: 12px;
            background: var(--background-secondary);
            border-radius: 8px;
            border: 1px solid var(--border-color);
        }

        .share-link-input {
            flex: 1;
            border: none;
            background: transparent;
            font-size: 14px;
            color: var(--text-secondary);
            direction: ltr;
            text-align: left;
        }

        .share-link-input:focus {
            outline: none;
        }

        .share-copy-btn {
            background: var(--airbnb-accent);
            color: white;
            border: none;
            padding: 8px 16px;
            border-radius: 6px;
            font-size: 14px;
            font-weight: 500;
            cursor: pointer;
            transition: all 0.2s ease;
            white-space: nowrap;
        }

        .share-copy-btn:hover {
            background: #e31c5f;
        }

        .share-copy-btn.copied {
            background: #28a745;
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes slideUp {
            from {
                opacity: 0;
                transform: translateY(30px);
            }
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }

        /* ========================================
           Mobile Fixed Booking Bar
           ======================================== */
        .mobile-booking-bar {
            display: none;
            position: fixed;
            bottom: 0;
            right: 0;
            left: 0;
            width: 100%;
            height: auto;
            z-index: 999;
            background-color: rgb(248, 248, 248);
            padding: 12px 16px;
            align-items: stretch;
            justify-content: center;
            flex-direction: column;
            gap: 10px;
            border-top: 1px solid rgba(0,0,0,0.06);
            transition: transform 0.3s ease, opacity 0.3s ease;
        }
        .mobile-booking-bar.hidden {
            transform: translateY(100%);
            opacity: 0;
            pointer-events: none;
        }
        .mobile-booking-bar .bar-price {
            display: flex;
            flex-direction: row;
            align-items: baseline;
            gap: 4px;
            width: 100%;
        }
        .mobile-booking-bar .bar-periods-row {
            display: flex;
            flex-direction: row;
            flex-wrap: nowrap;
            gap: 8px;
            overflow-x: auto;
            overflow-y: hidden;
            width: 100%;
            padding-bottom: 2px;
            -ms-overflow-style: none;
            scrollbar-width: none;
        }
        .mobile-booking-bar .bar-periods-row::-webkit-scrollbar {
            display: none;
        }
        .mobile-booking-bar .bar-period-chip {
            display: inline-flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            gap: 1px;
            background: #fff;
            border: 1.5px solid #e0e0e0;
            border-radius: 10px;
            padding: 5px 10px;
            flex-shrink: 0;
            min-width: 0;
            cursor: pointer;
            font-family: inherit;
            transition: border-color 0.15s, background 0.15s;
            -webkit-tap-highlight-color: transparent;
        }
        .mobile-booking-bar .bar-period-chip:active {
            background: #f1f8e9;
            border-color: var(--primary-color, #7CB342);
            transform: scale(0.96);
        }
        .mobile-booking-bar .bar-chip-label {
            font-size: clamp(10px, 2.8vw, 12px);
            color: #717171;
            white-space: nowrap;
        }
        .mobile-booking-bar .bar-chip-price {
            font-size: clamp(12px, 3.5vw, 15px);
            font-weight: 700;
            color: #222;
            white-space: nowrap;
        }
        .mobile-booking-bar .bar-actions {
            display: flex;
            flex-direction: row;
            gap: 10px;
            width: 100%;
        }
        .mobile-booking-bar .bar-price-amount {
            font-size: 18px;
            font-weight: 700;
            color: #222;
        }
        .mobile-booking-bar .bar-price-period {
            font-size: 12px;
            color: #717171;
        }
        .mobile-booking-bar .bar-chat-btn {
            background: white;
            color: var(--primary-color, #7CB342);
            border: 2px solid var(--primary-color, #7CB342);
            padding: 12px 14px;
            border-radius: 10px;
            font-weight: 700;
            font-size: 14px;
            font-family: 'Tajawal', sans-serif;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
            flex: 1;
            white-space: nowrap;
            transition: all 0.2s;
            -webkit-tap-highlight-color: transparent;
        }
        .mobile-booking-bar .bar-chat-btn:active {
            background: #F1F8E9;
            transform: scale(0.97);
        }
        .mobile-booking-bar .bar-chat-btn i {
            font-size: 15px;
        }
        .mobile-booking-bar .bar-book-btn {
            background: var(--primary-color, #7CB342);
            color: white;
            border: 2px solid var(--primary-color, #7CB342);
            border-radius: 10px;
            padding: 12px 14px;
            font-size: 14px;
            font-weight: 700;
            cursor: pointer;
            font-family: inherit;
            flex: 1;
            white-space: nowrap;
            transition: transform 0.15s, box-shadow 0.15s;
            -webkit-tap-highlight-color: transparent;
        }
        .mobile-booking-bar .bar-book-btn:active {
            transform: scale(0.96);
        }

        /* ========================================
           Mobile Floating Action Buttons
           ======================================== */
        .mobile-floating-actions {
            display: none;
            position: fixed;
            left: 16px;
            bottom: calc(234px + env(safe-area-inset-bottom, 0px)); /* above booking bar + bottom-nav */
            z-index: 1490;
            flex-direction: column;
            gap: 10px;
            transition: transform 0.3s ease, opacity 0.3s ease;
        }
        .mobile-floating-actions.hidden {
            transform: translateY(20px);
            opacity: 0;
            pointer-events: none;
        }
        .mobile-floating-actions .fab-btn {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 20px;
            color: white;
            cursor: pointer;
            box-shadow: 0 3px 12px rgba(0,0,0,0.2);
            transition: transform 0.15s;
            text-decoration: none;
            -webkit-tap-highlight-color: transparent;
        }
        .mobile-floating-actions .fab-btn:active {
            transform: scale(0.9);
        }
        .fab-whatsapp { background: #25D366; }
        .fab-instagram { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%); }
        .fab-call { background: #3b82f6; }
        .fab-maps { background: #fff; }
        .fab-share { background: #222; }

        /* Calendar Overlay (mobile bottom-sheet backdrop) */
        .calendar-overlay {
            display: none;
            position: fixed;
            inset: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 9998;
            opacity: 0;
            transition: opacity 0.3s ease;
            -webkit-tap-highlight-color: transparent;
        }
        .calendar-overlay.active {
            display: block;
            opacity: 1;
        }

        /* Body scroll lock when calendar open on mobile */
        body.calendar-open {
            overflow: hidden;
            position: fixed;
            width: 100%;
        }

        /* Mobile bottom-sheet slide-up animation */
        @keyframes slideUpSheet {
            from {
                transform: translateY(100%);
            }
            to {
                transform: translateY(0);
            }
        }
        @keyframes slideDownSheet {
            from {
                transform: translateY(0);
            }
            to {
                transform: translateY(100%);
            }
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .mobile-booking-bar {
                display: flex;
                bottom: calc(64px + env(safe-area-inset-bottom, 0px)); /* فوق #bottom-nav */
            }
            .mobile-floating-actions {
                display: flex;
            }
            body {
                padding-bottom: calc(194px + env(safe-area-inset-bottom, 0px)); /* booking bar + bottom-nav */
            }
            .booking-card-enhanced {
                display: none;
            }
            
            .calendar-popup {
                position: fixed;
                bottom: 0;
                left: 0;
                right: 0;
                top: auto;
                width: 100%;
                max-width: 100%;
                max-height: 85vh;
                overflow-y: auto;
                z-index: 9999;
                border-radius: 20px 20px 0 0;
                padding: 16px 16px 32px;
                margin-top: 0;
                animation: slideUpSheet 0.35s cubic-bezier(0.32, 0.72, 0, 1) forwards;
                -webkit-overflow-scrolling: touch;
            }

            .calendar-popup.closing {
                animation: slideDownSheet 0.25s cubic-bezier(0.32, 0.72, 0, 1) forwards;
            }

            /* Bottom sheet drag handle */
            .calendar-popup::before {
                content: '';
                display: block;
                width: 36px;
                height: 5px;
                background: #DDDDDD;
                border-radius: 3px;
                margin: 0 auto 16px;
            }

            .share-modal {
                width: 95%;
                padding: 24px;
            }

            .share-options {
                grid-template-columns: repeat(3, 1fr);
                gap: 12px;
            }

            .share-option {
                padding: 12px 8px;
            }

            .share-option-icon {
                width: 40px;
                height: 40px;
                font-size: 20px;
            }

            .share-option-label {
                font-size: 12px;
            }
        }

/* ========================================
   Video Player — Instagram/TikTok–style
   ======================================== */
.video-player-wrap {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    cursor: pointer;
    overflow: hidden;
}

.video-player-wrap video {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.vgm-video-wrap video {
    object-fit: cover;
    max-height: 100vh;
}

/* Big centered play button */
.vid-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    pointer-events: none;
    transition: opacity 0.25s, transform 0.25s;
    z-index: 5;
}

.video-player-wrap.is-playing .vid-play-btn {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.3);
    pointer-events: none;
}

/* Mute toggle — bottom-right */
.vid-mute-btn {
    position: absolute;
    bottom: 24px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    cursor: pointer;
    z-index: 6;
    transition: background 0.2s, color 0.2s;
    border: none;
}

.vid-mute-btn:hover,
.vid-mute-btn.unmuted {
    background: rgba(255,255,255,0.2);
    color: #fff;
}

/* Loading spinner */
.vid-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: none;
    z-index: 7;
}

.vid-loading.active {
    display: block;
}

.vid-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(255,255,255,0.2);
    border-top-color: #fff;
    border-radius: 50%;
    animation: vidSpin 0.7s linear infinite;
}

@keyframes vidSpin {
    to { transform: rotate(360deg); }
}

/* Thin progress bar — bottom of video */
.vid-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: rgba(255,255,255,0.15);
    cursor: pointer;
    z-index: 6;
    transition: height 0.15s;
}

.vid-progress:hover {
    height: 6px;
}

.vid-progress-bar {
    height: 100%;
    background: #fff;
    width: 0%;
    border-radius: 0 2px 2px 0;
    transition: width 0.1s linear;
}

/* Video badge in grid/card contexts */
.pgm-video-badge {
    position: absolute;
    bottom: 8px;
    left: 8px;
    background: rgba(0,0,0,0.65);
    color: #fff;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
    z-index: 3;
    pointer-events: none;
}

.pgm-video-badge i {
    font-size: 10px;
}

/* Gallery grid video overlay */
.gallery-item .video-overlay {
    transition: opacity 0.2s, transform 0.2s;
}

.gallery-item:hover .video-overlay {
    transform: translate(-50%, -50%) scale(1.1);
}

/* Mobile gallery video adjustments */
.mobile-gallery-slide video {
    pointer-events: none;
}

/* Lightbox video slide tweaks */
.lb-slide .video-player-wrap {
    max-width: 100%;
    max-height: 100%;
}

/* Vertical gallery video in full-height slides */
.vgm-slide .video-player-wrap {
    width: 100%;
    height: 100%;
}

@media (max-width: 768px) {
    .vid-play-btn {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .vid-mute-btn {
        bottom: 16px;
        right: 12px;
        width: 32px;
        height: 32px;
        font-size: 12px;
    }
}