/*
 Theme Name:   WpResidence child theme
 Theme URI:    https://themeforest.net/item/wp-residence-real-estate-wordpress-theme/7896392
 Description:  WpResidence child theme
 Author:       WpEstate
 Author URI:   http://wpestate.org
 Template:     wpresidence
 Version:      5.1.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


/* Container for the entire property page */
.property-template-default.single-property #gmap_wrapper{
    display: none;
}
.property-single-container {
    margin: 0px auto;
    font-family: 'Lato';
    color: #333;
}

/* Header section */
.property-header {
    margin-bottom: 30px;
}
.property-header h1{
    font-size:34px;
    font-weight: 500;
    font-family: "Merriweather", Sans-serif;
    line-height: 1.1em;
    color: #252A2C;
}
/* Gallery grid */
.property-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 60px 20px;
    background-color: #f2f2f2;
}

.property-gallery .main-image {
    grid-column: span 2;
    grid-row: span 2;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
}

.property-gallery .main-image:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

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

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

.property-gallery .thumb-image {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.07);
    transition: box-shadow 0.3s ease;
}

.property-gallery .thumb-image:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

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

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



/* Property info card */
.property-info {
    background: #fff;
    padding: 30px 35px;
    border-radius: 20px;
    box-shadow: 0 5px 14px rgba(0,0,0,0.1);
    color: #444;
    max-width: 70%;
    flex: 0 0 70%;
}

.property-info h2, .property-info h3 {
    font-size:34px;
    font-weight: 500;
    font-family: "Merriweather", Sans-serif;
    line-height: 1.1em;
    color: #252A2C;
}

.price-section {
    font-size: 1.8rem;
    font-weight: 700;
    color: #a69780;
    margin-bottom: 25px;
    font-family: "Merriweather", Sans-serif;
}

.property-meta p {
    font-size: 1rem;
    margin: 8px 0;
    color: #666;
}
.property-meta p:last-child{
    margin-bottom:0px;
}
/* Pricing details card */
.pricing-details {
    margin: 30px 0;
    padding: 15px;
    background: #f5f5f5;
    border-radius: 12px;
}

.pricing-details p {
    margin: 8px 0;
    font-weight: 600;
    color: #333;
}

/* Description */
.property-description p {
    line-height: 1.6;
    font-size: 1rem;
    color: #444;
    margin-bottom:5px;
}

/* Amenities grid */
.property-amenities {
    margin-top: 30px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 10px;
}

.amenities-grid div {
    padding: 8px 20px;
    background: #f8f7f4;
    border-radius: 12px;
    font-weight: 600;
    color: #a69780;
}

/* Property tags */
.property-tags {
    margin: 20px 0;
}

.tags-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.property-tags span {
    background: #e0e0e0;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 14px;
    color: #333;
    font-weight: 600;
}

/* Access info card */
.access-info {
    margin: 20px 0;
      border-bottom:1px solid #ddd;
    padding-bottom:20px;
    margin-bottom: 20px;
}

.access-info p {
    font-weight: 600;
    margin: 10px 0;
}

/* Terms and conditions */
.property-terms {
    margin: 30px 0;
    font-size: 1rem;
    color: #444;
        font-family: 'Lato';
}

.property-terms p {
    margin: 8px 0;
}

/* Cleaning status card */
.cleaning-status {
    margin: 30px 0;
    font-family: 'Lato';
}

.cleaning-status p {
    font-weight: 600;
    margin: 10px 0;
}

/* Integrations card */
.property-integrations {
    margin: 20px 0;
}

.integrations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.integration-item {
    padding: 10px;
    background: #f8f9fa;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    color: #444;
        font-family: 'Lato';
}

/* Booking sidebar card */
.booking-card {
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 155px;
    color: #333;
    font-family: 'Lato';
}

.booking-sidebar h3 {
    font-weight: 700;
    margin-bottom: 25px;
    color: #222;
        font-family: 'Lato';
}

.booking-price-container {
    text-align: center;
    margin: 20px 0;
}

.booking-price {
    font-size: 1.5em;
    color: #a69780;
    font-weight: bold;
    margin-bottom: 10px;
    display: flex;
    font-family: 'Lato';
    align-items: center;
    gap: 10px;
}

.booking-price-label {
    font-size: 0.8em;
    color: #666;
}

.booking-quick-info {
    margin: 15px 0;
    padding: 0px;
}

.booking-buttons a {
    width: 100%;
    padding: 15px;
    background: #a69780;
    color:#ffffff;
    border: none;
    border-radius: 12px;
    font-size: 1.1em;
    cursor: pointer;
    display: block;
    max-width: 100%;
    text-align: center;
    margin: 10px 0;
    text-decoration: none;
    box-shadow: 0 2px 6px #a6978054;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.booking-buttons a:hover,
.booking-buttons a:focus {
     background: #7b7060;
    color: #ffffff;
    box-shadow: 0 4px 12px #a6978054;
}

.booking-contact {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #ddd;
}

.booking-sidebar p {
    margin: 10px 0;
}

/* Property listing grid */
.property-listing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 20px 0;
}

/* Property card */
.property-card {
    border: 1px solid #ddd;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease;
    position: relative;
}
.property-card br{
    display:none;
}
.property-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

/* Property image */
.property-image {
    height: 200px;
    overflow: hidden;
}

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

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

/* Property content */
.property-content {
    padding: 0px;
    display: flex;
    gap: 16px;
    font-family: 'Lato';
    max-width: 1240px;
    margin: 60px auto;
}
.property-listing-grid .property-content {
    flex-direction: column;
    padding: 18px 20px;
    margin-top: 0px;
    margin-bottom: 0px;
}
/* Property header */
.property-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 10px;
}

.property-content h3 {
    margin: 0;
    font-size: 20px;
    line-height: 1.5;
    font-weight: 700;
    color: #222;
    font-family: "Merriweather", Sans-serif;
    flex: 1;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

/* Property price */
.property-price {
    font-size: 1.4em;
    font-weight: bold;
    color: #a69780;
    white-space: nowrap;
    font-family: 'Lato';
}

.property-price small {
    font-size: 0.7em;
    font-weight: normal;
     font-family: 'Lato';
    color: #666;
}

/* Property meta */
.property-meta {
    font-size: 14px;
    color: #666;
    margin:5px 0px
}
.property-meta > span{
    padding: 8px 15px;
    background: #f8f7f4;
    border-radius: 10px;
    color: #333333;
    display: inline-block;
}
.property-meta > span > img{
    font-size: 20px;
}
/* Property address */
.property-address {
    margin-bottom: 10px;
    font-size: 14px;
    color: #666;
    font-family: 'Lato';
}

/* Property type */
.property-card .property-type{
    position: absolute;
    top: 10px;
    right:10px;
}
.property-type span {
    background: #a69780;
    padding: 6px 14px;
    border-radius: 12px;
    font-size: 14px;
    color: #ffffff;
    font-weight: 400;
    font-family: 'Lato';
}

/* Property amenities */
.property-amenities {
    margin-bottom: 15px;
}

.property-amenities div {
    font-size: 14px;
    margin-top: 5px;
    color: #666;
}

/* Property excerpt */
.property-excerpt {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
    line-height: 1.4;
    font-family: 'Lato';
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Property actions */
.property-actions {
    display: flex;
    gap: 10px;
}

/* Book now button */
.book-now-btn {
    background: #a69780;
    color:#ffffff;
    padding: 8px 15px;
    text-decoration: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 6px #a6978054;
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.book-now-btn:hover {
    background: #7b7060;
    color: #ffffff;
    box-shadow: 0 4px 12px #a6978054;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .property-content {
        grid-template-columns: 1fr;
    }

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

    .property-gallery .main-image {
        grid-column: span 2;
    }

    .booking-card {
        position: relative;
        top: auto;
        margin-top: 30px;
    }

    .property-listing-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .property-listing-grid {
        grid-template-columns: 1fr;
    }
}

.property-single-container .property-meta{
    border-bottom:1px solid #ddd;
    padding-bottom:20px;
    margin-bottom: 20px;
}
.property-single-container .property-meta,.property-single-container .cleaning-status,.property-single-container .property-terms, .property-single-container .property-description,.property-single-container .property-amenities{
    border-bottom:1px solid #ddd;
    padding-bottom:20px;
    margin-bottom: 20px;
}


.property-single-container .property-description{
  border-top:1px solid #ddd;
   padding-top:20px;
    margin-top: 20px;
}
@media (max-width: 992px) {
    .property-content{
        display: block
    }
    .property-info, 
    .booking-sidebar{
        max-width: 100%;
    }
    .property-content{
        padding:0px 20px
    }
    .wpestate_mobile_menu_trigger {
        background-color: #f8f7f4 !important;
        border-radius: 10px !important;
    }
    .property-info, .booking-sidebar{
        padding:20px
    }
    .property-info h1 {
        font-size:28px !important;
    }
    .property-info h2 {
        font-size:26px !important;
    }
}