.title-section {
    padding: 24px 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding-bottom: 14px;
    align-items: center;
}

.property-title {
    font-size: 26px;
    margin-bottom: 8px;
}

.share-btn-row {
    display: flex;
    justify-content: flex-end;
    align-items: center;

}

.pill-button-black {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    background: var(--dark);
    color: #fff;
    border: none;
    padding: 10px 24px;
    border-radius: 40px;
    transition: var(--transition);
}

.pill-button-black:hover {
    background: #222;
}

/* Gallery-Grid */
.gallery-section {
    padding-top: var(--spacing-lg);
    padding-bottom: 0;
    background: transparent;
    position: relative;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: 200px 200px;
    gap: 10px;
    border-radius: var(--radius-md);
    overflow: hidden;
    height: 410px;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item:hover {
    filter: brightness(0.9);
}

.main-img {
    grid-row: span 2;
}

.show-all-btn {
    position: absolute;
    bottom: 24px;
    right: 24px;
    background: white;
    border: 1px solid #222;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    z-index: 5;
}

.show-all-btn:hover {
    background: #f7f7f7;
    box-shadow: var(--shadow-hover);
}

/* Content Layout */
.content-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 48px;
    padding-top: 48px;
}

/* Property Info (Left Side) */
.property-info-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.host-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
}

.features-section {
    padding: 32px 0 32px;
    border-bottom: 1px solid var(--border);
}

.feature-item {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
}

.feature-item:last-child {
    margin-bottom: 0;
}

.feature-icon {
    font-size: 24px;
}

.feature-title {
    font-weight: 600;
}

.feature-desc {
    color: var(--text-secondary);
    font-size: 14px;
}

.description-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
}

.description-text {
    line-height: 1.6;
}

.text-underline-btn {
    background: none;
    border: none;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    padding-top: 16px;
    font-family: inherit;
    font-size: 16px;
}

/* Amenities */
.amenities-section {
    padding: 32px 0;
    border-bottom: 1px solid var(--border-color);
}

.amenities-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: var(--spacing-md);
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 12px;
}
.amenity-item svg{
    width: 20px;
}
.amenity-btn-all {
    background: var(--dark);
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    margin-top: 32px;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.3s ease-in-out;
    border: none;
    color: var(--bs-body-bg);
}



/* Booking Card (Right Side) */
.booking-sidebar {
    position: relative;
}

.booking-card {
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 100px;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

.price-nightly {
    font-size: 22px;
    font-weight: 700;
}

.price-booking-period {
    color: var(--text-secondary);
}
.price-booking-period svg{
    width: 20px;
}

.booking-inputs-container {
    border: 1px solid #717171;
    border-radius: 8px;
    position: relative;
}

.date-inputs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #717171;
    cursor: pointer;
}

.date-field-wrapper {
    padding: 10px;
    position: relative;
}

.date-field-wrapper:first-child {
    border-right: 1px solid #717171;
}

.input-label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
}

.date-display {
    font-size: 14px;
}

.calendar-icon-inline {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    color: #717171;
    font-size: 14px;
}

.guest-field-wrapper {
    padding: 10px;
    position: relative;
}

.guest-select-input {
    width: 100%;
    border: none;
    outline: none;
    font-size: 14px;
    padding: 4px 0;
    background: transparent;
    cursor: pointer;
    color: var(--text-main);
    font-family: var(--font-body);
}

.btn-reserve {
    width: 100%;
    background: linear-gradient(to right, #E61E4D 0%, #E31C5F 50%, #D70466 100%);
    color: white;
    border: none;
    padding: 14px;
    border-radius: var(--radius-sm);
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    margin-top: var(--spacing-md);
}

.reserve-note {
    text-align: center;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: var(--spacing-sm);
}

.price-breakdown-list {
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-secondary);
}

.price-item-row {
    display: flex;
    justify-content: space-between;
}

.price-item-label {
    text-decoration: underline;
}

.price-total-row {
    
    padding-top: 24px;
    border-top: 1px solid var(--border-main);
    display: flex;
    justify-content: space-between;
    font-weight: 700;
    font-size: 18px;
}

/* Footer */


/* Utilities */
.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.line-clamp-2.expanded {
    -webkit-line-clamp: unset;
}

/* Offcanvas Amenities */
.property-offcanvas-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.property-offcanvas-overlay.active {
    visibility: visible;
    opacity: 1;
}

.property-offcanvas {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    max-width: 580px;
    height: 100%;
    background: #fff;
    z-index: 999999;
    box-shadow: -4px 0 12px rgba(0, 0, 0, 0.1);
    transition: right 0.3s ease;
    padding: 24px;
    overflow-y: auto;
}

.property-offcanvas.active {
    right: 0;
}

/* Center Modal version for Single Review */
#single-review-offcanvas {
    right: 50%;
    top: 50%;
    transform: translate(50%, -50%) scale(0.9);
    height: auto;
    max-height: 80vh;
    border-radius: 24px;
    width: 95%;
    max-width: 650px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 8px 32px rgba(0,0,0,0.2);
}

#single-review-offcanvas.active {
    right: 50%;
    opacity: 1;
    visibility: visible;
    transform: translate(50%, -50%) scale(1);
    background-color: var(--dark);
}

#single-review-offcanvas .property-offcanvas-header {
    border-bottom: none;
    padding-bottom: 0;
}

#single-review-offcanvas .offcanvas-close {
    position: absolute;
    right: 24px;
    top: 24px;
    z-index: 10;
}
.fancybox__container {
     top: 79px;
    z-index: 9999;
}

.property-offcanvas-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
    position: sticky;
    top: 0;
    background: white;
    padding-bottom: 12px;
}

.property-offcanvas-close {
    background: none;
    border: none;
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
}

/* Calendar Section (Inline) */
.calendar-section {
    padding: 48px 0;
}

.calendar-header {
    margin-bottom: 24px;
}

.calendar-header h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.calendar-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 16px;
    padding-right: 24px;
}

.icon-btn-plain {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
}

/* Customizing Inline Flatpickr */
#inline-calendar .flatpickr-calendar {
    width: 100% !important;
    box-shadow: none;
    border: none;
}

#inline-calendar .flatpickr-innerContainer {
    justify-content: center;
}

#inline-calendar .flatpickr-months {
    padding: 0 10px;
}

#inline-calendar .flatpickr-month {
    flex: 1;
}

@media (max-width: 768px) {
    #inline-calendar .flatpickr-calendar {
        width: 300px !important;
    }
}

/* Reviews Section */
.reviews-section {
    padding: 48px 0;
    border-top: 1px solid var(--dark);

}

.reviews-header {
    margin-bottom: 32px;
}

.reviews-header h2 {
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px 80px;
    margin-bottom: 48px;
}

.review-card {
    display: flex;
    flex-direction: column;
    background: var(--dark);
    padding: 20px;
    border-radius: 5px;
    color: var(--bs-white);
}
button#reviews-close {
    border: 1px solid var(--dark);
    border-radius: 50%;
    width: 30px;
    height: 30px;
}

.review-user-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--orange-color-light);
    display: flex;
    justify-content: center;
    line-height: 48px; font-size: 20px;
}

.review-user-name {
    font-weight: 600;
    font-size: 16px;
    color: var(--orange-color-light);
}
i.fa-solid.fa-star {
    color: var(--orange-color-light);
}
button.show-more-link {
    color: var(--orange-color-light);
}

.review-user-tenure {
    color: var(--text-secondary);
    font-size: 14px;
}

.review-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-size: 14px;
}

.stars {
    display: flex;
    gap: 2px;
    font-size: 10px;
}

.review-date {
    font-weight: 600;
}

.review-text {
    line-height: 1.6;
}

.show-more-link {
    background: none;
    border: none;
    text-decoration: underline;
    font-weight: 600;
    cursor: pointer;
    font-size: 14px;
    margin-top: 8px;
    padding: 0;
    display: inline-block;
    width: fit-content;
}

.btn-show-all-reviews {
    background: var(--dark);
    padding: 13px 23px;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    font-size: 16px;
    transition: var(--transition);
    border: none;
    color: var(--white);
}



/* Reviews Offcanvas */
#reviews-offcanvas .property-offcanvas-header {
    border-bottom: 1px solid var(--border-color);
    padding: 24px;
    margin-bottom: 0;
}

#reviews-offcanvas .property-offcanvas-content {
    padding: 24px;
}

.reviews-sidebar-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Map Section */
.map-section {
    padding: 48px 0;
    border-top: 1px solid var(--border);
}

.map-section h2 {
    font-size: 22px;
    margin-bottom: 4px;
}

.location-text {
    margin-bottom: 24px;
    font-size: 16px;
}

#map {
    height: 480px;
    width: 100%;
    border-radius: var(--radius-md);
    z-index: 1;
}

/* Leaflet Popups */
.leaflet-popup-content-wrapper {
    border-radius: 8px;
    font-family: var(--font-body);
}

button.reserve-btn {
    background: var(--dark);
    width: 100%;
    border: var(--dark);
    padding: 10px;
    margin: 10px 0 0 0;
    border-radius: 30px;
    color: var(--white);
}

/* Responsiveness */
@media (max-width: 1120px) {
    .content-layout {
        gap: 40px;
    }
}

@media (max-width: 950px) {
    .content-layout {
        grid-template-columns: 1fr;
    }

    .booking-card {
        position: static;
        margin-top: var(--spacing-xxl);
        box-shadow: none;
        border: 1px solid var(--border-main);
    }

    .booking-sticky-footer {
        display: flex;
    }
}

@media (max-width: 768px) {
    main.container,
    .content-layout,
    .property-info,
    .booking-sidebar,
    .booking-card,
    .calendar-section,
    .reviews-section,
    .map-section {
        max-width: 100%;
        min-width: 0;
        box-sizing: border-box;
    }

    .booking-card {
        width: 100%;
        max-width: calc(100vw - 30px);
        padding: 16px;
    }

    .property-info-header,
    .features-section,
    .description-section,
    .amenities-section,
    .date-inputs-grid {
        max-width: 100%;
        min-width: 0;
    }

    .date-inputs-grid {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    }

    .date-display {
        width: 100%;
        min-width: 0;
    }

    .property-offcanvas {
        display: none;
        right: 0;
        width: min(100vw, 580px);
        max-width: 100vw;
        box-sizing: border-box;
        transform: none;
    }

    .property-offcanvas.active {
        display: block;
        right: 0;
        transform: none;
    }

    #single-review-offcanvas {
        right: 50%;
        display: none;
        transform: translate(50%, -50%) scale(0.9);
    }

    #single-review-offcanvas.active {
        display: block;
        transform: translate(50%, -50%) scale(1);
    }

    .amenities-section {
        padding-right: 10px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(1, 300px);
        height: auto;
        border-radius: 0;
        margin: 0 -24px;
        width: calc(100% + 48px);
    }

    .gallery-item:not(:first-child) {
        display: none;
    }

    .main-img {
        grid-row: span 1;
        border-radius: 0;
    }

    .show-all-btn {
        bottom: 16px;
        right: 16px;
    }

    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .calendar-section {
        overflow-x: auto;
    }

    #inline-calendar .flatpickr-calendar {
        width: 100% !important;
        min-width: 300px;
    }
}

/* Mobile Sticky Booking Bar */
.booking-sticky-footer {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    border-top: 1px solid var(--border-main);
    padding: 16px 24px;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.sticky-footer-left {
    display: flex;
    flex-direction: column;
}

.sticky-footer-price {
    font-size: 18px;
    font-weight: 700;
}

.sticky-footer-dates {
    font-size: 14px;
    text-decoration: underline;
    color: var(--text-main);
}

.btn-mobile-reserve {
    background: var(--brand-gradient);
    color: white;
    padding: 12px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    border: none;
    font-size: 16px;
    cursor: pointer;
}

/* Utility Classes used in Offcanvas & Content */
.flex-column {
    display: flex;
    flex-direction: column;
}

.gap-24 {
    gap: 24px;
}

.gap-12 {
    gap: 12px;
}

.padding-bottom-24 {
    padding-bottom: 24px;
}

.margin-bottom-24 {
    margin-bottom: 24px;
}

.margin-bottom-16 {
    margin-bottom: 16px;
}

.border-divider {
    border-bottom: 1px solid #ebebeb;
}

.spacer-32 {
    height: 32px;
}

.text-h2 {
    font-size: 24px;
    font-weight: 700;
    margin: 0;
    margin-bottom: 20px;
}

.text-h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.text-secondary {
    color: #717171;
}

.text-small {
    font-size: 14px;
}

button#amenities-close {
    border: 1px solid var(--dark);
    border-radius: 50%;
    width: 30px;
    height: 30px;
}
@media (max-width: 567px) {
    .property-title {
    font-size: 20px;
    
}
.share-btn-row {
  
    justify-content: start;
  
}
.title-section {
    padding: 24px 0;
    display: block;
   
}
.gallery-section {

   padding-left: 20px;padding-right: 20px;
}
.map-section {
    padding: 14px 0;
   
}
.reviews-section {
    padding: 14px 0;
    
}
    
}
