/*
 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.4.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
*/


.mobile_header .mobile-logo img {
    max-width: 140px !important;
}

.wpresidence_wrap_a_filter_areas {
    display: none !important;
}

body.tax-property_city.term-burgas .wpresidence_wrap_a_filter_areas {
    display: block !important;
}

[data-recommended-btn-high] .listinglink-wrapper_sh_listings {
    display: none !important;
}

.property_listing .property-unit-information-wrapper .property_listing_details span svg {
    width: 20px;
    height: 20px;
}

/* ── Subunits Table Widget ─────────────────────────────────────────────── */
.vre-subunits-table-wrapper {
    width: 100%;
    overflow-x: auto;
    padding: 30px 30px 30px 30px;
    background-color: #fff;
    border-radius: 5px;
}

.vre-subunits-table__title {
    margin-bottom: 20px;
    color: var(--wp_estate_headings_color);
}

.vre-subunits-table {
    width: 100%;
    border-collapse: collapse;
    table-layout: auto;
    border: 0;
}

.vre-subunits-table thead tr {
    border: 0;
    border-bottom: 1px solid #e5e5e5;
    color: #a90831;
}

.vre-subunits-table thead th {
    text-align: left;
    white-space: nowrap;
    padding: 20px 10px;
    font-weight: 600;
    border: 0;
}

.vre-subunits-table tbody tr {
    border: 0;
    border-bottom: 1px solid #e5e5e5;
}

.vre-subunits-table tbody tr:hover {
    background-color: #f5f5f5;
}

.vre-subunits-table tbody td {
    padding: 20px 10px;
    vertical-align: middle;
    border: 0;
}

.vre-subunit-name a {
    text-decoration: none;
    color: inherit;
}

.vre-subunit-name a:hover {
    text-decoration: underline;
}

.vre-subunits-table .vre-status--available {
    color: #28a745;
    font-weight: 600;
}

.vre-subunits-table .vre-status--reserved {
    color: #fd7e14;
    font-weight: 600;
}

/* ── Price Link Button Widget ─────────────────────────────────────────── */
.vre-price-link {
    display: inline-block;
    padding: 10px 24px;
    background-color: var(--wp-estate-main-color-option, var(--wp-estate-main-color)) !important;
    color: #fff !important;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    transition: opacity 0.2s ease;
}

.vre-price-link:hover {
    opacity: 0.75 !important;
}

#accordion_prop_details,
#accordion_prop_surroundings {
    margin-top: 10px;

    .row {
        margin: 0;

        .surrounding-item {
            font-weight: 400;
        }
    }
}

.wpc-property-subunits-selector {
    position: relative;
}

.wpc-property-subunits-selector__input {
    width: 100%;
}

.wpc-property-subunits-selector__status {
    margin: -4px 0 12px;
    color: rgba(17, 20, 45, 0.65);
    font-size: 13px;
    line-height: 1.5;
}

.wpc-property-subunits-selector__results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: column;
    gap: 0;
    max-height: 240px;
    overflow-y: auto;
    padding: 6px 0;
    margin-top: -6px;
    margin-bottom: 14px;
    background: #fff;
    border: 1px solid #d6dbe1;
    border-radius: 8px;
    box-shadow: 0 12px 24px rgba(17, 20, 45, 0.12);
}

.wpc-property-subunits-selector__result {
    width: 100%;
    padding: 11px 14px;
    color: #11142d;
    text-align: left;
    background: transparent;
    border: 0;
    border-radius: 0;
    transition: background-color 0.15s ease;
}

.wpc-property-subunits-selector__result:hover,
.wpc-property-subunits-selector__result:focus {
    background-color: #f3f6f9;
    outline: none;
}

.wpc-property-subunits-selector__selected {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    min-height: 12px;
}

.wpc-property-subunits-selector__chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    max-width: 100%;
    padding: 8px 12px;
    background: #f3f6f9;
    border: 1px solid #d8e0e8;
    border-radius: 999px;
}

.wpc-property-subunits-selector__chip-label {
    overflow: hidden;
    color: #11142d;
    font-size: 13px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.wpc-property-subunits-selector__chip-remove {
    width: 22px;
    height: 22px;
    padding: 0;
    color: #68768a;
    line-height: 1;
    background: transparent;
    border: 0;
    border-radius: 50%;
    font-size: 18px;
}

.wpc-property-subunits-selector__chip-remove:hover,
.wpc-property-subunits-selector__chip-remove:focus {
    color: #11142d;
    background: rgba(17, 20, 45, 0.08);
    outline: none;
}


.property_listing .listing-unit-img-wrapper {
    height: 250px !important;
}

.adv-search-1 .residence_advanced_submit_button_search_1 {
    font-size: 14px !important;
    padding: 0 !important;
}

.property_location {
    display: none !important;
}

.property_listing img {
    height: 100% !important;
    object-fit: cover !important;
}

.featured_div {
    max-width: max-content !important;
}

.widget_latest_listing_image {
    max-width: 105px !important;
}

.widget_latest_listing_image img {
    height: 70px !important;
    object-fit: cover !important;
}

.image_gallery.col-md-12 {
    height: 400px;
}

.elementor-widget:has(#accordion_prop_features):not(:last-child) {
    margin-block-end: 0 !important;
}

.elementor-widget .single-overview-section {
    align-items: flex-start !important;
}

@media screen and (max-width: 768px) {
    .elementor-widget .single-overview-section {
        gap: 10px !important;
    }
}

@media screen and (max-width: 768px) {
    .gallery_wrapper .image_gallery.col-md-12 {
        width: 100% !important;
    }
}

@media (max-width: 768px) {
    .estate_property-template-default #adv-search-header-mobile {
        display: none !important;
    }
}