/*
Theme Name: Buccirossi Immobiliare
Theme URI: https://www.buccirossisrl.com/
Author: Buccirossi Immobiliare
Author URI: https://www.buccirossisrl.com/
Description: Tema personalizzato per Buccirossi Immobiliare.
Version: 4.2.6
Tags: right-sidebar, left-sidebar, custom-colors, custom-menu, featured-images, post-formats, theme-options, translation-ready
License: GNU General Public License version 3.0 
License URI: http://www.gnu.org/licenses/gpl-3.0.html
Text Domain: houzez
Requires at least: WordPress 6.0
*/
.auto-complete-content-wrap .item-sub-price,.houzez-dashboard .grecaptcha-badge,.listing-v3 .item-wrap-v3 .h-type,body.houzez-halfmap-page .grecaptcha-badge{display:none!important}.listing-slider-variable-width .slick-slide{padding-left:2px;padding-right:2px}.property-banner-trigger{z-index:1}.houzez-nav-menu-main-desktop-wrap .dropdown-menu>li:not(:last-child){border-top-width:0;border-left-width:0;border-right-width:0}.houzez-all-slider-wrap{opacity:0;visibility:hidden;transition:opacity 1s;-webkit-transition:opacity 1s}.houzez-all-slider-wrap.slick-initialized{visibility:visible;opacity:1}.property-carousel-module .slick-slide{padding-left:10px;padding-right:10px}.property-carousel-module .slick-list{margin-left:-10px;margin-right:-10px}.search-hidden,.sticky-nav-area,.sticky-search-area{position:relative;width:100%;z-index:1000;top:0;opacity:0;visibility:hidden;transform:translate(0,-200px)}.houzez-in-view{opacity:1;position:fixed!important;visibility:visible;transition:.4s;transform:translate(0,0) scale(1);animation:.4s fadein}.comment-reply-title{font-size:14px}@media (max-width:992px){.grecaptcha-badge{display:none!important}}.houzez-hide-menu-mobile,.houzez-hide-menu-tablet,.houzez-menu-toggle.houzez-nav-menu-active .icon-navigation-menu,.houzez-nav-menu-main-mobile-wrap.nav-mobile,[data-elementor-device-mode=mobile] .houzez-hide-menu-mobile,[data-elementor-device-mode=mobile] .houzez-hide-menu-tablet,[data-elementor-device-mode=tablet] .houzez-hide-menu-tablet{display:none}[data-elementor-device-mode=desktop] .houzez-show-menu-desktop,[data-elementor-device-mode=desktop] .hz-show-menu-desktop,[data-elementor-device-mode=mobile] .houzez-show-menu-desktop,[data-elementor-device-mode=mobile] .houzez-show-menu-mobile,[data-elementor-device-mode=mobile] .houzez-show-menu-tablet,[data-elementor-device-mode=tablet] .houzez-show-menu-desktop,[data-elementor-device-mode=tablet] .houzez-show-menu-tablet,[data-elementor-device-mode=tablet] .hz-show-menu-tablet{display:block}.slick-dots li{margin:0}.fancybox__container,.offcanvas.show,.offcanvas.showing{z-index:99999}.block-map-wrap{min-height:350px}.property-schedule-tour-day-form{max-height:100px}div#houzez-agent-sidebar-map{width:100%;height:200px}.houzez-map-message{position:absolute;bottom:20px;left:20px;background-color:rgba(0,0,0,.8);color:#fff;padding:6px 15px;border-radius:4px;font-size:13px;z-index:1000;opacity:0;transition:opacity .3s;pointer-events:none;line-height:20px}.map-marker-label,.property-info-window{background-color:#fff;box-shadow:rgba(0,0,0,.2) 0 3px 15px 0}.houzez-map-message.show{opacity:1}.property-info-window{padding:5px;border-radius:6px 0 6px 6px;width:287px}.property-info-window .info-window-image img{border-radius:4px;width:100%;max-width:286px;height:176px;object-fit:cover}.info-window-price{font-size:20px;font-weight:700;margin-bottom:10px}.info-window-info-details{font-size:14px;margin-bottom:5px;font-weight:400}.info-window-property-type{text-transform:uppercase;font-size:12px;font-weight:400;margin-bottom:10px}.info-window-address-info{font-size:14px;font-weight:400;color:#888}.info-window-image{position:relative}.info-window-label{position:absolute;font-weight:400;z-index:1;top:10px;left:10px;border-radius:4px;font-size:10px;line-height:1;text-transform:uppercase;padding:4px 4px 3px}.map-marker-label{color:#000;font-size:15px;font-weight:700;padding:8px 12px;border-radius:20px;border:1px solid #fff}.map-marker-label:hover{border:1px solid #aaa}.osm-marker{display:inline-block;padding:5px 11px}@media (max-width:991.98px){.single-property .back-to-top-wrap{right:10px;bottom:80px}}.is-invalid{border-color:#ea3d3d!important}button.gm-svpc>div{position:relative!important;top:0!important;left:0!important}@keyframes spin{from{transform:rotate(0)}to{transform:rotate(360deg)}}.icon-spin{display:inline-block;animation:2s linear infinite spin}.houzez-ele-search-form-wrapper .location-trigger{right:1px}.property-detail-v3 #property-gallery-js .lslide a img,.property-detail-v4 #property-gallery-js .lslide a img{width:100%}.property-detail-v4 .top-gallery-section .lSPager.lSGallery{max-height:117px}.property-detail-v3 .top-gallery-section .lSPager.lSGallery{max-height:81px}#houzez-single-listing-map-address,#houzez-single-listing-map-elementor{height:100%;width:100%}.hs-gallery-v2-top-wrap #pills-360tour,.hs-gallery-v2-top-wrap #pills-map,.hs-gallery-v2-top-wrap #pills-street-view,.hs-gallery-v2-top-wrap #pills-video,.hs-gallery-v2-top-wrap .top-gallery-section,.hs-gallery-v3-top-wrap #pills-360tour,.hs-gallery-v3-top-wrap #pills-map,.hs-gallery-v3-top-wrap #pills-street-view,.hs-gallery-v3-top-wrap #pills-video{position:relative;aspect-ratio:4/3;overflow:hidden}textarea.form-control{line-height:inherit}

/* Property sidebar: show only centered logo in contact box */
.single-property .property-form-wrap .agent-details .agent-information {
	display: none !important;
}
.single-property .property-form-wrap .agent-details > .d-flex {
	justify-content: center;
}

/* Phone button override */
.header-main-wrap .login-register-nav .btn-phone-number a,
.header-main-wrap .btn-phone-number a,
.logged-in-nav .btn-phone-number a {
  background-color: #00277A !important;
  border: 1px solid #00277A !important;
  color: #fff !important;
  padding: 7px 14px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  font-weight: 600;
  letter-spacing: 0.2px;
  box-shadow: 0 3px 10px rgba(0, 61, 166, 0.18);
}
.header-main-wrap .login-register-nav .btn-phone-number a:hover,
.header-main-wrap .login-register-nav .btn-phone-number a:active,
.header-main-wrap .btn-phone-number a:hover,
.header-main-wrap .btn-phone-number a:active,
.logged-in-nav .btn-phone-number a:hover,
.logged-in-nav .btn-phone-number a:active {
  background-color: #00277A !important;
  border-color: #00277A !important;
  color: #fff !important;
}
.header-main-wrap .btn-phone-number .houzez-icon,
.logged-in-nav .btn-phone-number .houzez-icon {
  color: #fff !important;
  font-size: 14px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transform: translateY(-2px);
}

/* Property status colors */
.label-status.status-color-67 {
  background-color: #00277A;
  color: #fff;
}
.label-status.status-color-66 {
  background-color: #00277A;
  color: #fff;
}
.label-status.status-color-100,
.label-status.status-color-101 {
  background-color: #C83B3B;
  color: #fff;
}

/* Sold/rented cards: grayscale thumbnail + standard red label */
.item-header .labels-wrap.is-sold-rented ~ .listing-image-wrap,
.item-header .label-status.status-color-100 ~ .listing-image-wrap,
.item-header .label-status.status-color-101 ~ .listing-image-wrap,
.item-header .labels-wrap.is-sold-rented ~ .listing-image-wrap .listing-thumb,
.item-header .labels-wrap.is-sold-rented ~ .listing-image-wrap .listing-featured-thumb,
.item-header .label-status.status-color-100 ~ .listing-image-wrap .listing-featured-thumb img,
.item-header .label-status.status-color-101 ~ .listing-image-wrap .listing-featured-thumb img,
.item-header .labels-wrap.is-sold-rented ~ .listing-image-wrap .listing-featured-thumb img {
  filter: grayscale(100%);
}

/* Keep "Trattativa riservata" aligned with the current price style in each context */
.item-price-wrap .item-price.item-price-text,
.item-wrap-v9 .item-body .item-price-wrap .item-price.item-price-text {
  font-size: inherit !important;
  font-weight: inherit;
  line-height: inherit;
}

/* Autocomplete: text placeholders ("Trattativa...") same visual weight as numeric prices */
.auto-complete .item-price-wrap .item-price.item-price-text {
  font-size: 15px !important;
  font-weight: 700;
  line-height: 1.2;
}

/* Banner autocomplete should stay above content */
.auto-complete.auto-complete-banner {
  z-index: 10000 !important;
}

.autocomplete,
.auto-complete {
  min-width: 650px;
}

@media (max-width: 767.98px) {
  .autocomplete,
  .auto-complete {
    min-width: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* iOS safe area above header: force white like header */
html,
body {
  background-color: #ffffff !important;
}

@supports (padding: max(0px)) {
  body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top);
    background: #ffffff;
    z-index: 99999;
    pointer-events: none;
  }
}

/* Mobile header: call CTA */
.header-mobile .header-mobile-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

.header-mobile .mobile-call-cta {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background-color: transparent;
  border: 1.5px solid #00277a;
  color: #00277a !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.header-mobile .mobile-call-cta i {
  color: #00277a !important;
  font-size: 16px;
  line-height: 1;
}

.header-mobile .mobile-call-cta:hover,
.header-mobile .mobile-call-cta:focus {
  background-color: #00277a;
  color: #ffffff !important;
}

.header-mobile .mobile-call-cta:hover i,
.header-mobile .mobile-call-cta:focus i {
  color: #ffffff !important;
}

.mobile-property-contact .mobile-contact-title {
  color: #00277a;
  font-weight: 700;
}

/* Dashboard messages: compact summary for property requests */
.dashboard-content-inner .buccirossi-request-summary {
  line-height: 1.45;
  white-space: normal;
}

/* Dashboard lead status toggle */
.buccirossi-lead-status-toggle {
  min-width: 122px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid transparent;
}

.buccirossi-lead-status-toggle.is-pending {
  background: #f4f6f8;
  color: #5f6b7a;
  border-color: #d8dee6;
}

.buccirossi-lead-status-toggle.is-worked {
  background: #e7f8ef;
  color: #0f7a45;
  border-color: #b8e7cb;
}
