/* Property Detail CSS */

.property-detail-section {
    padding: 40px 0 80px;
    background: #fff;
    color: #222;
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, 250px);
    gap: 8px;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 30px;
    position: relative;
}

.gallery-item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    cursor: pointer;
    transition: filter 0.3s;
}

.gallery-item:hover {
    filter: brightness(0.8);
}

.text-danger {
    --bs-text-opacity: 1;
    color: var(--orange) !important;
}

.gallery-main {
    grid-row: span 2;
}

.btn-show-all {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: #fff;
    border: 1px solid #222;
    padding: 6px 15px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    z-index: 5;
}

/* Header Info */
.pd-header-top {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.pd-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 0;
}

.pd-actions .btn {
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    background: none;
    border: none;
    padding: 0 10px;
}

.pd-meta {
    font-size: 14px;
    margin-bottom: 25px;
}

.pd-meta .rating {
    font-weight: 600;
}

.pd-meta .address {
    text-decoration: underline;
}

/* Content Layout */
.pd-main-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 80px;
}

.host-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 25px;
    border-bottom: 1px solid #ddd;
    margin-bottom: 25px;
}

.host-info h4 {
    font-size: 22px;
    margin-bottom: 5px;
}

.host-info p {
    color: #444;
    margin-bottom: 0;
}

/* Highlights */
.highlight-item {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.highlight-item i {
    font-size: 24px;
}

.highlight-item .h-title {
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 2px;
}

.highlight-item .h-sub {
    color: #717171;
    font-size: 14px;
}

/* Section divider */
.pd-divider {
    border-top: 1px solid #ddd;
    margin: 35px 0;
}

/* About Section */
.pd-section-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 20px;
}

.pd-about-text {
    line-height: 1.6;
    color: #222;
}

.show-more {
    font-weight: 600;
    text-decoration: underline;
    cursor: pointer;
}

/* Sleep Section */
.sleep-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.sleep-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    padding: 20px;
}

.sleep-card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
}

.sleep-card .s-name {
    font-weight: 600;
    margin-bottom: 5px;
}

.sleep-card .s-desc {
    font-size: 14px;
    color: #717171;
}

/* Amenities */
.amenities-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 15px;
    font-size: 16px;
}

.amenity-item i {
    width: 20px;
    text-align: center;
}

/* Review Cards */
.reviews-horizontal {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
}

input[type="date"] {
    width: 100%;
    border: navajowhite;
    margin-top: 8px;
}

select {
    border: navajowhite;
    justify-content: space-between;
    display: flex;
    width: 100%;
    width: 468%;
    border: none;
    /* padding: 10px; */
    appearance: auto;
    margin-top: 8px;
    margin-bottom: 15px;
}

.review-card {
    border: 1px solid rgba(239, 149, 41, 0.3);
    border-radius: 8px;
    padding: 30px 25px;
    position: relative;
    background: #fff;
    margin-bottom: 30px;
}

.review-card::before {
    content: "“";
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 80px;
    color: rgba(239, 149, 41, 0.15);
    font-family: 'Playfair Display', serif;
    line-height: 1;
    z-index: 1;
}

.review-card>* {
    position: relative;
    z-index: 2;
}

.offcanvas-review-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px 0;
}

.r-head {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.r-avatar {
    width: 48px;
    height: 48px;
    background: #444;
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.r-user-info .u-name {
    font-weight: 600;
    margin-bottom: 2px;
}

.r-user-info .u-date {
    font-size: 14px;
    color: #717171;
}

.r-text {
    line-height: 1.5;
    color: #222;
}

/* Sticky Widget */
.booking-widget-wrap {
    position: sticky;
    top: 100px;
}

.booking-widget {
    border: 1px solid rgb(221, 221, 221);
    border-radius: 12px;
    padding: 24px;
    box-shadow: rgba(0, 0, 0, 0.12) 0px 6px 16px;
    background: #fff;
}

.bw-price-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
}

.bw-price {
    font-size: 22px;
    font-weight: 600;
}

.bw-price span {
    font-weight: 400;
    font-size: 16px;
    color: #717171;
}

.bw-rating {
    font-size: 14px;
}

.bw-form {
    border: 1px solid #b0b0b0;
    border-radius: 8px;
    margin-bottom: 16px;
}

.bw-dates {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-bottom: 1px solid #b0b0b0;
}

.bw-date-item {
    padding: 10px 12px;
}

.bw-date-item:first-child {
    border-right: 1px solid #b0b0b0;
}

.bw-label {
    font-size: 10px;
    font-weight: 900;
    text-transform: uppercase;
}

.bw-val {
    font-size: 14px;
}

.bw-guests {
    padding: 10px 12px;
    position: relative;
    cursor: pointer;
}

.bw-btn {
    width: 100%;
    padding: 14px;
    background: var(--orange);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.bw-btn:hover {
    background: #d4801e;
}

.bw-note {
    text-align: center;
    color: #717171;
    font-size: 14px;
    margin-top: 16px;
}

/* Map */
.map-wrap iframe {
    width: 100%;
    border-radius: 12px;
}

@media (max-width: 991px) {
    .pd-main-grid {
        grid-template-columns: 1fr;
    }

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

    .gallery-main {
        grid-row: span 1;
    }

    .gallery-item:not(.gallery-main) {
        width: 100%;
    }

    .sleep-grid {
        grid-template-columns: 1fr, 2fr;
    }

    .property-detail-section {
        padding: 1px 0 36px;
        background: #fff;
        color: #222;
    }
}

/* Breadcrumb background */
.pd-breadcrumb {
    background-image: url('../img/property5.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    padding: 100px 0;
    text-align: center;
}

/* Amenities List Styling */
.amenities-list .amenity-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f8f8f8;
}

.amenities-list .amenity-item i {
    font-size: 20px;
    color: #444;
}

.amenities-list hr {
    margin: 25px 0;
    opacity: 0.1;
}

.offcanvas-header {
    padding: 20px 24px;
}

.offcanvas-body {
    padding: 24px;
}

@media screen and (max-width: 767px) {

    .sleep-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .gallery-grid {
        display: grid;
        grid-template-columns: 2fr 1fr 1fr;
        grid-template-rows: repeat(2, 250px);
        gap: 8px;
        border-radius: 12px;
        overflow: hidden;
        margin-bottom: 0px;
        position: relative;
    }

    .property-detail-section {
        padding: 9px 0 20px;
    }

    .reviews-horizontal {

        grid-template-columns: repeat(1, 1fr);

    }

    .pd-main-grid {

        margin-top: 25px;
    }

}

@media screen and (max-width: 567px) {

    select {

        width: 284px;

    }

    .gallery-item:not(.gallery-main) {
        width: 200px;
    }
}

@media screen and (max-width: 467px) {

    .sleep-grid {
        grid-template-columns: repeat(1, 1fr);
    }

    .booking-widget-wrap {

        width: 100%;
    }

    .bw-dates {
        display: grid;
        grid-template-columns: none;
        border-bottom: 1px solid #b0b0b0;
        /* border: 2px solid; */
    }

    select {
        width: 219px;
    }

    .bw-date-item {
        padding: 10px 12px;
        border-top: 1px solid #b0b0b0;
    }
}