:root {
    --primary-color: #000;
    --light-bg: #fafafa;
    --white-color: #fff;
    --heading-font-size: 42px;
    --heading-font-variant: 500;
    --subheading-font-size: 36px;
    --subheading-font-variant: 500;
    --text-font-size: 16px;
    --text-font-variant: 300;
}

body{
    color: var(--primary-color);
}

.container{
    max-width: 1580px;
    width: 100%;
    padding: 0 42px;
    margin: 0 auto;
}

h1{
    font-size: var(--heading-font-size);
    font-weight: var(--heading-font-variant);
    color: var(--primary-color);
    margin: 0 0 30px;
}

h2{
    font-size: var(--subheading-font-size);
    font-weight: var(--subheading-font-variant);
    color: var(--primary-color);
    margin: 0 0 25px;
}

p, span{
    font-size: var(--text-font-size);
    font-weight: var(--text-font-variant);
}

body .btn{
    background: var(--primary-color);
    border: 1px solid var(--primary-color);
    border-radius: 100px;
    color: var(--white-color);
    font-size: var(--text-font-size);
    font-weight: var(--text-font-variant);
    letter-spacing: 1px;
    padding: 16px 26px;
    text-transform: math-auto;
    transition: .5s ease-in;
    white-space: nowrap;
}

body .btn:hover {
    background: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* Single Page */
.property-gallery-section {
    margin: 0 0 40px;
    position: relative;
}

.property-content-wrapper {
    display: flex;
    gap: 90px;
}

.property-main-content{
    width: calc(100% - 480px);
}

.property-main-content p{
    font-size: var(--text-font-size);
    font-weight: var(--text-font-variant);
    line-height: 1.6;
    margin: 0 0 15px;
}

.property-description h3 {
    font-size: 24px;
    font-weight: 500;
    margin: 25px 0 16px;
}

.review-info-wrap .review-info p {
    margin-bottom: 0;
}

.property-gallery-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    position: relative;
}

/* Gallery Items - Only first 2 displayed */
.property-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    height: 400px;
}

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

.property-gallery-item:hover img {
    transform: scale(1.05);
}

.review-card {
    background: var(--white-color);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    border: 1px solid #eee;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    background: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    margin-right: 12px;
    font-size: 18px;
}

.review-info span {
    color: #888;
    font-size: 14px;
}


/* Popup */
.reviews-popup {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 9999;
    padding: 40px;
}

.popup-content {
    background: #fff;
    margin: auto;
    padding: 30px;
    max-width: 700px;
    border-radius: 12px;
    height: 80vh;
    overflow-y: auto;
}

.close-popup {
    float: right;
    font-size: 30px;
    cursor: pointer;
}

/* Property Description Read More Button */
.read-more-btn {
    color: #000;
    padding: 0;
    background: unset;
    border: 0;
    border-radius: 0;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
}

.read-more-btn:hover{
    color: #000;
    background: unset;
}

/* Property Description Modal Styles */
.property-description-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.property-description-popup-overlay.active {
    display: flex;
}

.property-description-popup-container {
    background: #f5f5f5;
    border-radius: 16px;
    max-width: 900px;
    width: 100%;
    max-height: 85vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.property-description-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 28px;
    border-bottom: 1px solid #e0e0e0;
    background: white;
    border-radius: 16px 16px 0 0;
}

.property-description-popup-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #222;
}

.property-description-popup-content {
    padding: 28px;
    overflow-y: auto;
    background: white;
    border-radius: 0 0 16px 16px;
    line-height: 1.8;
    font-size: 16px;
    color: #333;
}

.property-description-popup-content h3,
.property-description-popup-content h4 {
    margin-top: 24px;
    margin-bottom: 12px;
    font-weight: 600;
    color: #222;
}

.property-description-popup-content h3 {
    font-size: 20px;
}

.property-description-popup-content h4 {
    font-size: 18px;
}

.property-description-popup-content p {
    margin-bottom: 16px;
}

.property-description-popup-content ul,
.property-description-popup-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.property-description-popup-content li {
    margin-bottom: 8px;
}

/* Amenities Popup Styles */
.amenities-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.amenities-popup-overlay.active {
    display: flex;
}

.amenities-popup-container {
    background: var(--white-color);
    border-radius: 16px;
    max-width: 800px;
    width: 100%;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}

.amenities-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    border-bottom: 1px solid #e0e0e0;
}

.amenities-popup-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
}

.amenities-popup-close,
.property-description-popup-close {
    /* background: var(--primary-color); */
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.amenities-popup-close:hover,
.property-description-popup-close:hover {
    opacity: .9;
    background: var(--primary-color);
}

.amenities-popup-content {
    padding: 24px;
    overflow-y: auto;
}

.amenities-popup-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 16px;
}

.show-all-amenities-btn {
    margin-top: 20px;
    padding: 12px 24px;
    background: white;
    border: 1px solid #222;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

/* Property Map Styles */
.property-map {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    margin: 20px 0;
    border: 1px solid #e0e0e0;
}

.location-address {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 600;
    margin: 16px 0 8px 0;
}

.location-description {
    color: #666;
    font-size: 14px;
    margin: 0;
}


/* View All Photos Button */
.view-all-photos-btn {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: white;
    border: 1px solid #ddd;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    z-index: 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.view-all-photos-btn:hover {
    color: var(--primary-color);
    background: #f7f7f7;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.view-all-photos-btn svg {
    width: 16px;
    height: 16px;
}


.calendar-clear-btn {
    background: transparent;
    color: var(--primary-color);
    text-decoration: underline;
    flex: 1 1 0%; 
    padding: 8px 16px;
     border: 1px solid rgb(209, 213, 219);
     border-radius: 4px; 
     cursor: pointer; 
     font-size: 14px;
     width: 50%;

}


.calendar-close-btn {
    flex: 1 1 0%; 
    padding: 8px 16px;
    background-color: var(--primary-color);
    color: white; 
    border: none; 
    border-radius: 4px; 
    cursor: pointer; 
    font-size: 14px;
    width: 50%;

}

/* ============================================
   LIGHTBOX STYLES - Updated class names
   ============================================ */

.property-gallery-lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    overflow: hidden;
}

.property-gallery-lightbox.active {
    display: flex;
    flex-direction: column;
}

.addon-item-content,
.addon-item-label {
    display: flex;
    align-items: center;
    gap: 8px;
}

.addon-item-content .addon-item-details,
.addon-item-content strong {
    font-size: 16px;
}


/* Lightbox Header */
.property-lightbox-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 40px;
    z-index: 10001;
    background: linear-gradient(to bottom, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.5) 50%, transparent 100%);
    backdrop-filter: blur(10px);
}

.property-lightbox-close {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.property-lightbox-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: rotate(90deg) scale(1.1);
}

.property-lightbox-close svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.5;
}

.property-lightbox-counter {
    color: white;
    font-size: 17px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

/* Lightbox Content */
.property-lightbox-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 100px 120px 140px;
    overflow: hidden;
}

.property-lightbox-image-container {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    cursor: pointer;
}

.property-lightbox-image {
    display: none;
    max-width: calc(100vw - 240px);
    max-height: calc(100vh - 240px);
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    pointer-events: none;
    user-select: none;
}

.property-lightbox-image.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Navigation Buttons */
.property-lightbox-prev,
.property-lightbox-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10003;
    pointer-events: auto;
    backdrop-filter: blur(10px);
}

.property-lightbox-prev:focus,
.property-lightbox-next:focus {
    outline: 2px solid rgba(255, 255, 255, 0.6);
    outline-offset: 2px;
}

.property-lightbox-prev:hover,
.property-lightbox-next:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-50%) scale(1.1);
}

.property-lightbox-prev {
    left: 40px;
}

.property-lightbox-next {
    right: 40px;
}

.property-lightbox-prev svg,
.property-lightbox-next svg {
    width: 24px;
    height: 24px;
    stroke-width: 2.5;
}

/* Thumbnails */
.property-lightbox-thumbnails {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    gap: 12px;
    padding: 24px 40px;
    overflow-x: auto;
    overflow-y: hidden;
    background: linear-gradient(to top, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.6) 50%, transparent 100%);
    z-index: 10001;
    scroll-behavior: smooth;
    justify-content: center;
}

.property-lightbox-thumbnails::-webkit-scrollbar {
    height: 6px;
}

.property-lightbox-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
}

.property-lightbox-thumbnails::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.property-lightbox-thumb {
    flex-shrink: 0;
    width: 90px;
    height: 68px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    opacity: 0.6;
    transition: all 0.3s ease;
    border: 3px solid transparent;
    background: rgba(255, 255, 255, 0.1);
}

.property-lightbox-thumb:hover {
    opacity: 0.9;
    transform: translateY(-4px);
    border-color: rgba(255, 255, 255, 0.4);
}

.property-lightbox-thumb.active {
    opacity: 1;
    border-color: white;
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 768px) {
    .property-gallery-main {
        grid-template-columns: 1fr;
    }
    
    .property-gallery-item-1 {
        grid-row: span 1;
        height: 400px;
    }
    
    .property-gallery-item {
        height: 300px;
    }
    
    .view-all-photos-btn {
        bottom: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 12px;
    }
    
    .property-lightbox-content {
        padding: 80px 15px 120px;
    }
    
    .property-lightbox-image {
        max-width: calc(100vw - 30px);
        max-height: calc(100vh - 200px);
    }
    
    .property-lightbox-header {
        padding: 20px 20px;
    }
    
    .property-lightbox-prev,
    .property-lightbox-next {
        width: 48px;
        height: 48px;
    }
    
    .property-lightbox-prev {
        left: 15px;
    }
    
    .property-lightbox-next {
        right: 15px;
    }
    
    .property-lightbox-prev svg,
    .property-lightbox-next svg {
        width: 20px;
        height: 20px;
    }
    
    .property-lightbox-thumbnails {
        padding: 20px 20px;
        gap: 10px;
    }
    
    .property-lightbox-thumb {
        width: 70px;
        height: 52px;
    }
}

/* Full Width Booking Popup Styles */
.booking-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    display: none;
    z-index: 10000;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.booking-popup-overlay.active {
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.booking-popup-container.full-width-popup {
    background: white;
    width: 100%;
    max-width: none;
    min-height: 100vh;
    border-radius: 0;
    position: relative;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
}

.booking-popup-close {
    position: fixed;
    top: 24px;
    right: 24px;
    background: white;
    border: 2px solid rgba(0, 0, 0, 0.1);
    cursor: pointer;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    z-index: 10001;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    line-height: 1;
    color: #333;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.booking-popup-close:hover {
    background: #f5f5f5;
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.booking-popup-content.full-width-content {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    min-height: 100vh;
    padding: 0;
}

/* Left Side - Booking Form */
.booking-form-side {
    background: white;
    overflow-y: auto;
    padding: 60px 50px;
    -webkit-overflow-scrolling: touch;
}

.booking-form-container {
    max-width: 640px;
    margin: 0 auto;
}

.booking-form-container h1 {
    font-size: 32px;
    margin-bottom: 40px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.5px;
}

/* Form Styles */
.form-section {
    margin-bottom: 28px;
}

.form-section label {
    display: block;
    margin-bottom: 12px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
}

.form-section label strong {
    font-weight: 600;
}

.name-fields {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
.single_booking_form_calnder .uplisting-search-field .uplisting-field-value {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.2s ease;
    background: var(--white-color);
    color: var(--primary-color);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: unset;
    box-shadow: unset;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
textarea:hover,
select:hover {
    border-color: #e0e0e0;
}

textarea {
    min-height: 100px;
    resize: vertical;
    line-height: 1.6;
}

/* Form Divider */
.form-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 36px 0;
    border: none;
}

/* Payment Table */
.payment-table {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    overflow: hidden;
    background: white;
}

.payment-header {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    padding: 18px 20px;
    background: #f8f9fa;
    border-bottom: 2px solid #e8e8e8;
    font-weight: 600;
    font-size: 14px;
    color: #1a1a1a;
}

.payment-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 16px;
    padding: 18px 20px;
    border-bottom: 1px solid #f0f0f0;
}

.payment-row:last-child {
    border-bottom: none;
}

.payment-field {
    display: flex;
    flex-direction: column;
}

.payment-field.full-width {
    grid-column: 1 / -1;
    padding: 0 15px 15px;
}

.payment-field label {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
    font-weight: normal;
}

/* Checkboxes */
.form-checkboxes {
    margin: 32px 0 28px;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    margin-bottom: 16px;
    cursor: pointer;
    font-size: 15px;
    line-height: 1.5;
    color: #333;
    transition: color 0.2s ease;
}

.checkbox-label:hover {
    color: #1a1a1a;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 12px;
    margin-top: 3px;
    width: 18px;
    height: 18px;
    cursor: pointer;
    flex-shrink: 0;
    accent-color: var(--primary-color);
}

/* Footer Note */
.form-footer-note {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 6px;
    margin: 20px 0;
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* Confirm Button */
.confirm-booking-btn {
    width: 100%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-booking-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Right Side - Property Summary */
.booking-summary-side {
    background: linear-gradient(135deg, #f8f9fa 0%, #f0f2f5 100%);
    overflow-y: auto;
    padding: 60px 40px;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    -webkit-overflow-scrolling: touch;
    border-left: 1px solid #e8e8e8;
}

.property-summary-card {
    background: white;
    padding: 36px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 420px;
    width: 100%;
    position: sticky;
    top: 40px;
}

.property-summary-header h3 {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
    line-height: 1.3;
}

.property-summary-header p {
    color: #666;
    margin: 0;
    font-size: 15px;
}

.summary-divider {
    height: 1px;
    background: linear-gradient(to right, transparent, #e0e0e0, transparent);
    margin: 24px 0;
    border: none;
}

/* Booking Details Grid */
.booking-details-grid {
    margin-bottom: 28px;
    display: grid;
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 10px;
}

.detail-item strong {
    font-size: 11px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.detail-item span {
    font-size: 15px;
    color: #1a1a1a;
    font-weight: 500;
}

/* Price Breakdown */
.price-breakdown {
    border-top: 2px solid #e8e8e8;
    padding-top: 24px;
}

.price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    font-size: 15px;
    color: #333;
}

.price-item:last-of-type:not(.total) {
    margin-bottom: 16px;
}

.price-item.total {
    border-top: 2px solid #e8e8e8;
    padding-top: 18px;
    margin-top: 18px;
    font-size: 20px;
    font-weight: 700;
    color: #1a1a1a;
}

.price-item.total strong {
    font-weight: 700;
}

/* Booking Message Styles */
.booking-message {
    margin-bottom: 24px;
    border-radius: 12px;
    overflow: hidden;
    animation: slideDown 0.3s ease;
}

.booking-message-content {
    padding: 18px 20px;
    display: flex;
    align-items: flex-start;
    gap: 14px;
    position: relative;
}

.booking-message-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    border: 2px solid #28a745;
    color: #155724;
}

.booking-message-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    border: 2px solid #dc3545;
    color: #721c24;
}

.booking-message-info {
    background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
    border: 2px solid #17a2b8;
    color: #0c5460;
}

.booking-message-icon {
    font-size: 24px;
    font-weight: bold;
    flex-shrink: 0;
    margin-top: 2px;
}

.booking-message-text {
    flex: 1;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 500;
}

.booking-message-text strong {
    font-weight: 700;
}

.booking-message-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: inherit;
    opacity: 0.7;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: opacity 0.2s ease;
    line-height: 1;
}

.booking-message-close:hover {
    opacity: 1;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .booking-popup-content.full-width-content {
        grid-template-columns: 1fr;
    }
    
    .booking-summary-side {
        display: none;
    }
    
    .booking-form-side {
        padding: 40px 30px;
    }
    
    .booking-popup-close {
        top: 16px;
        right: 16px;
        width: 40px;
        height: 40px;
        font-size: 22px;
    }

    .property-main-content {
        width: calc(100% - 400px);
    }

    .property-sidebar {
        max-width: 400px;
    }
}

@media (max-width: 768px) {
    .container {
        max-width: 100%;
        padding: 0 0;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
        margin: 0 0 15px;
    }

    .booking-form-side {
        padding: 30px 20px;
    }
    
    .booking-form-container {
        max-width: 100%;
    }
    
    .booking-form-container h1 {
        font-size: 26px;
        margin-bottom: 32px;
    }
    
    .name-fields {
        grid-template-columns: 1fr;
    }
    
    .payment-row {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .payment-header {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .form-section {
        margin-bottom: 24px;
    }
    
    .property-summary-card {
        padding: 28px;
    }

    .property-main-content {
        width: 100%;
    }

    .property-content-wrapper {
        flex-wrap: wrap;
    }

    .amenities-popup-grid {
        grid-template-columns: 1fr;
    }

    .property-map {
        height: 300px;
    }

    .booking-form-text {
        margin: 0 0 10px;
    }
}

/* Scrollbar Styling */
.booking-form-side::-webkit-scrollbar,
.booking-summary-side::-webkit-scrollbar {
    width: 6px;
}

.booking-form-side::-webkit-scrollbar-track,
.booking-summary-side::-webkit-scrollbar-track {
    background: #f1f1f1;
}

.booking-form-side::-webkit-scrollbar-thumb,
.booking-summary-side::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

.booking-form-side::-webkit-scrollbar-thumb:hover,
.booking-summary-side::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Disabled button styles */
.reserve-btn:disabled,
.confirm-booking-btn:disabled {
    color: var(--primary-color);
    opacity: 0.6 !important;
    cursor: not-allowed !important;
    background-color: #cccccc !important;
}

.reserve-btn:disabled:hover,
.confirm-booking-btn:disabled:hover {
    background-color: #cccccc !important;
    transform: none !important;
}

/* css update for date buttons */
.single_booking_form_calnder {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

.single_booking_form_calnder  div#dates-field {
    padding: 0;
}

.single_booking_form_calnder .uplisting-search-field {
    padding: 0;
    border: 0;
}

.single_booking_form_calnder .uplisting-search-field:hover {
    background: transparent;
    box-shadow: none;
    
}


.single_booking_form_calnder .uplisting-search-field input, 
.single_booking_form_calnder .uplisting-search-field .uplisting-field-value {     
    font-size: 14px;
    border-radius: 30px;
}

/* ============================================
   GENERAL BOOKING CARD STYLES
   ============================================ */
.booking-card {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.booking-price {
    margin-bottom: 20px;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.booking-price strong {
    font-size: 22px;
    color: var(--primary-color);
    font-weight: 600;
}

.booking-price span {
    font-size: 16px;
    color: #666;
}

.booking-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 24px 0;
}

.booking-contact {
    text-align: center;
}

.booking-contact p {
    margin: 0;
    font-size: 15px;
    color: #666;
}

.booking-contact a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
}

.booking-contact a:hover {
    text-decoration: underline;
}

/* ============================================
   EMBED CODE SECTION STYLES
   ============================================ */
.embed-code-section {
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    padding: 24px;
    background: white;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.embed-code-toggle-btn {
    width: 100%;
}

.embed-code-container {
    margin-top: 15px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

/* ============================================
   BOOKING BUTTONS SECTION STYLES
   ============================================ */
.booking-buttons-section {
    margin-bottom: 20px;
}


.booking-form-text {
    text-align: center;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
    font-weight: 500;
}

.booking-buttons-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.booking-external-btn {
    text-align: center;
    text-decoration: none;
}

.uplisting-guest-controls button {
    padding: 0;
}

/* Calendar validation message */
.flatpickr-calendar {
    border-radius: 20px !important;
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.15) !important;
    border: none !important;
    padding: 20px !important;
}

.flatpickr-months {
    padding: 0 !important;
}

.flatpickr-month {
    color: #222 !important;
}

.flatpickr-current-month {
    font-size: 16px !important;
    font-weight: 600 !important;
    padding: 10px 0 !important;
}

.flatpickr-day {
    border-radius: 50% !important;
    border: none !important;
    color: #222 !important;
    font-size: 14px;
}


.flatpickr-day:hover:not(.flatpickr-disabled) {
    background: #f7f7f7 !important;
    border-color: #f7f7f7 !important;
    color: var(--primary-color) !important;
}

.flatpickr-day.selected,
.flatpickr-day.startRange,
.flatpickr-day.endRange {
    background: #222 !important;
    border-color: #222 !important;
    color: #fff !important;
}

.flatpickr-day.inRange {
    background: #f7f7f7 !important;
    border-color: #f7f7f7 !important;
    box-shadow: none !important;
}

.flatpickr-calendar .validation-message {
    padding: 0 !important;
    font-size: 13px !important;
    color: var(--primary-color) !important;
    border-top: 1px solid #ebebeb !important;
    background: transparent !important;
    border: 0 !important;
    text-align: left !important;
}

.flatpickr-calendar .flatpickr-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 8px;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #ebebeb;
}

.flatpickr-calendar .flatpickr-buttons .clear-btn {
    background: transparent;
    color: #222;
    text-decoration: underline;
}

.flatpickr-calendar .flatpickr-buttons .clear-btn:hover {
    background: #f7f7f7;
}

.flatpickr-calendar button.close-btn {
    background-color: var(--primary-color) !important;
    color: var(--white-color);
}

.flatpickr-calendar button,
.flatpickr-calendar button.close-btn {
    font-size: 14px;
}

.dayContainer {
    align-items: flex-start;
    justify-content: flex-start;
}

.flatpickr-calendar span.flatpickr-day.flatpickr-disabled span svg,
.flatpickr-calendar span.flatpickr-day span svg{
    width: 0;
    height: 0;
}

.flatpickr-day.selected.startRange+.endRange:not(:nth-child(7n+1)),
.flatpickr-day.startRange.startRange+.endRange:not(:nth-child(7n+1)),
.flatpickr-day.endRange.startRange+.endRange:not(:nth-child(7n+1)) {
    -webkit-box-shadow: unset !important;
    box-shadow: unset !important;
}