/* Annunci listing + scheda — estratto da template/tercasa/assets/css/styles.css
 * Caricato solo sulle pagine annunci (vedi $extra_css in head.php).
 * Colori brand rimappati su variabili tercasa dove possibile.
 */

.header-account .tf-btn {
  min-width: 206px;
}

.header-style-2:not(.is-fixed) .btn-line svg path {
  stroke: #ffffff;
}

.header-style-2:not(.is-fixed) .tf-btn.primary {
  background-color: #ffffff;
  color: var(--uc-primary-color);
  border-color: transparent;
}

.header-style-2:not(.is-fixed) .tf-btn.primary svg path {
  stroke: var(--uc-primary-color);
}

.header-style-2:not(.is-fixed) .tf-btn.primary:hover {
  background-color: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.header-style-2:not(.is-fixed) .tf-btn.primary:hover svg path {
  stroke: #ffffff;
}

.mobile-menu .mobi-icon-box .box {
  margin-bottom: 19px;
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 19px;
}

.mobile-menu .mobi-icon-box .box:last-child {
  border-bottom: 0;
  padding-bottom: 0px;
  margin-bottom: 0px;
}

.mobile-menu .mobi-icon-box .box .content {
  color: #a3abb0;
}

.mobile-menu .mobi-icon-box .box .content h5 {
  color: #5c6368;
}

.mobile-menu .mobi-icon-box .icon {
  margin-right: 10px;
  font-size: 20px;
}

.canvas-menu .box-btn .tf-btn {
  width: 100%;
}

.canvas-menu .menu-icon-box .box .icon {
  margin-right: 10px;
  font-size: 20px;
}

.canvas-menu .menu-icon-box .box:not(:last-child) {
  margin-bottom: 19px;
  border-bottom: 1px solid #e4e4e4;
  padding-bottom: 19px;
}

.flat-tab-form .nav-tab-form {
  margin-bottom: 28px;
  align-items: center;
  display: flex;
  gap: 10px;
}

.flat-tab-form .nav-tab-form .nav-link-item {
  padding: 14px 55px;
  border-radius: 99px;
  font-size: 16px;
  line-height: 20px;
  text-align: center;
  font-weight: 600;
  background-color: transparent;
  border: 1px solid #ffffff;
  color: #ffffff;
}

.flat-tab-form .nav-tab-form.style-1 .nav-link-item {
  position: relative;
}

.flat-tab-form .nav-tab-form.style-1 .nav-link-item.active, .flat-tab-form .nav-tab-form.style-1 .nav-link-item:hover {
  background-color: var(--uc-primary-color);
  border-color: var(--uc-primary-color);
}

.flat-tab-form .nav-tab-form.style-1 .nav-link-item.active::after, .flat-tab-form .nav-tab-form.style-1 .nav-link-item:hover::after {
  display: block;
}

.flat-tab-form .nav-tab-form.style-1 .nav-link-item::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid var(--uc-primary-color);
  display: none;
}

.flat-tab-form .nav-tab-form.style-2 {
  margin-bottom: 0;
  gap: 4px;
}

.flat-tab-form .nav-tab-form.style-2 .nav-link-item {
  background-color: #e4e4e4;
  color: #161e2d;
  border-radius: 8px 8px 0 0;
  border-color: transparent;
  padding: 14px 26px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  line-height: 26px;
}

.flat-tab-form .nav-tab-form.style-2 .nav-link-item.active, .flat-tab-form .nav-tab-form.style-2 .nav-link-item:hover {
  background-color: var(--uc-primary-color);
  color: #ffffff;
}

.flat-tab-form .nav-tab-form.style-3 {
  gap: 0;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  display: inline-flex;
  overflow: hidden;
}

.flat-tab-form .nav-tab-form.style-3 .nav-link-item {
  min-width: 115px;
  padding: 7px 10px;
  border-radius: 0;
}

.flat-tab-form .nav-tab-form.style-4 {
  padding: 11px 0px;
  gap: 40px;
}

.flat-tab-form .nav-tab-form.style-4 .nav-link-item {
  background-color: transparent;
  border-bottom: 2px solid transparent;
  color: #a3abb0;
  padding: 2px 0px;
}

.flat-tab-form .nav-tab-form.style-4 .nav-link-item.active, .flat-tab-form .nav-tab-form.style-4 .nav-link-item:hover {
  color: #161e2d;
  border-color: #161e2d;
}

.nav-tab-filter {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-tab-filter .nav-link-item {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid #e4e4e4;
  display: flex;
  align-items: center;
  justify-content: center;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.nav-tab-filter .nav-link-item .icon {
  width: 24px;
}

.nav-tab-filter .nav-link-item .icon path {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.nav-tab-filter .nav-link-item.active svg path {
  fill: #161e2d;
}

.nav-tab-filter .nav-link-item:hover {
  border-color: #161e2d;
}

.nav-tab-filter .nav-link-item:hover svg path {
  fill: #161e2d;
}

.flat-animate-tab {
  overflow: hidden;
}

.flat-animate-tab .tab-content {
  position: relative;
}

.flat-animate-tab .tab-pane {
  display: block;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  right: 0;
  -webkit-transform: translateY(30px);
  -ms-transform: translateY(30px);
  transform: translateY(30px);
  transition-timing-function: ease-in;
  transition-duration: 0.2s;
}

.flat-animate-tab .tab-pane.active {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 2;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
  transition-timing-function: ease-out;
  transition-duration: 0.3s;
  transition-delay: 0.3s;
}

.flat-tab-form {
  position: relative;
}

.tf-btn {
  font-size: 16px;
  line-height: 21.86px;
  font-weight: 600;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  min-width: 162px;
  min-height: 54px;
  border-radius: 9999px;
  background-color: #ffffff;
  color: #161e2d;
  border: 1px solid #161e2d;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.tf-btn svg path {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.tf-btn svg {
  width: 20px;
  flex-shrink: 0;
}

.tf-btn .icon {
  font-size: 20px;
  flex-shrink: 0;
}

.tf-btn:hover {
  background-color: var(--uc-primary-color);
  color: #ffffff;
  border-color: var(--uc-primary-color);
}

.tf-btn.primary {
  background-color: var(--uc-primary-color);
  color: #000;
  border-color: var(--uc-primary-color);
}

.tf-btn.primary:hover {
  background-color: var(--uc-primary-color);
}

.tf-btn.primary .icon {
  color: #000;
}

.tf-btn.size-1 {
  padding: 11px 36px;
  min-width: 244px;
}

.tf-btn.size-2 {
  padding: 11px 40px;
}

.hover-btn-view:hover .btn-view.style-1 .icon {
  animation: 0.3s link-icon linear;
}

.hover-btn-view:hover .btn-view.style-1 .text {
  color: #161e2d;
}

.hover-btn-view:hover .btn-view.style-1 .text::before {
  width: 100%;
  left: 0;
  right: auto;
}

.btn-view {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.btn-view .text {
  font-size: 16px;
  line-height: 26px;
  font-weight: 600;
  color: #161e2d;
  position: relative;
}

.btn-view .text::before {
  position: absolute;
  content: "";
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background-color: var(--uc-primary-color);
}

.btn-view .icon {
  color: var(--uc-primary-color);
  font-size: 16px;
}

.btn-view:hover .icon {
  animation: 0.3s link-icon linear;
}

.btn-view.style-1 .text::before {
  width: 0;
  left: auto;
  right: 0;
  -webkit-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  -o-transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  transition: width 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) 0s;
  background-color: #161e2d;
}

.btn-line .icon {
  color: #161e2d;
  font-size: 20px;
}

.wd-find-select {
  display: flex;
  border-radius: 12px;
  background-color: #ffffff;
  padding: 20px;
  padding-left: 40px;
}

.wd-find-select .tf-btn {
  min-height: 52px;
}

.wd-find-select .box-btn-advanced {
  display: flex;
  gap: 10px;
}

.wd-find-select .inner-group {
  padding-right: 20px;
  flex-wrap: nowrap;
  display: flex;
  gap: 20px;
  flex-grow: 1;
}

.wd-find-select .inner-group .form-style {
  width: 100%;
}

.wd-find-select .inner-group .form-style .form-control,
.wd-find-select .inner-group .form-style .nice-select {
  border: 0;
  padding: 0;
  padding-top: 6px;
}

.wd-find-select .inner-group .form-style .form-control {
  color: #161e2d;
  font-weight: 600;
  font-size: 16px;
  line-height: 21.86px;
  padding-right: 45px;
  border-radius: 0;
}

.wd-find-select .inner-group .form-style .form-control::placeholder {
  color: #161e2d;
}

.wd-find-select .inner-group .form-style .nice-select {
  color: #161e2d;
  font-weight: 600;
  font-size: 16px;
  line-height: 21.86px;
}

.wd-find-select .inner-group .form-style .nice-select::after {
  right: 20px;
}

.wd-find-select .inner-group .form-style label {
  font-weight: 600;
  color: #a3abb0;
}

.wd-find-select .inner-group .form-style:not(:last-child) {
  border-right: 1px solid #e4e4e4;
}

.wd-find-select .inner-group .group-ip {
  position: relative;
}

.wd-find-select .inner-group .group-ip .icon {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 20px;
  font-size: 20px;
}

.wd-find-select .inner-group .box-filter {
  width: max-content;
  flex-shrink: 0;
}

.wd-find-select .inner-group .box-filter .filter-advanced {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #161e2d;
  font-weight: 600;
}

.wd-find-select .inner-group .box-filter .icon {
  font-size: 28px;
}

.wd-find-select .group-select .nice-select {
  padding: 14px 17px;
  border-radius: 10px;
}

.wd-find-select.style-2 {
  border-radius: 16px;
  border-top-left-radius: 0;
}

.wd-find-select.shadow-st {
  box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.0784313725);
}

.wd-find-select.no-left-round {
  border-top-left-radius: 0;
}

.wd-find-select.style-3 .nice-select,
.wd-find-select.style-3 .form-control {
  background-color: #f7f7f7;
}

.wd-find-select.style-3 .inner-group {
  border: 1px solid #e4e4e4;
  background-color: #f7f7f7;
  border-top-left-radius: 12px;
  border-bottom-left-radius: 12px;
}

.wd-search-form .group-checkbox {
  margin-top: 20px;
}

.wd-search-form .group-checkbox .amenities-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.wd-search-form .group-checkbox .amenities-item .text-cb-amenities {
  color: #161e2d;
  cursor: pointer;
  font-weight: 400;
}

.wd-search-form .group-amenities {
  margin-top: 14px;
}

.wd-search-form.style-2 .group-price .widget-price:not(:first-child) {
  margin-top: 30px;
}

.wd-search-form.style-2 .box .box-select .nice-select {
  padding: 0;
  border: 0;
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

.wd-search-form.style-2 .group-checkbox .amenities-item {
  margin-top: 12px;
}

.wd-search-form.style-2 .group-checkbox .amenities-item:first-child {
  margin-top: 0;
}

.wd-search-form .tf-btn {
  width: 100%;
}

.wd-filter-select {
  background-color: #ffffff;
  border-radius: 10px;
  border-top-left-radius: 0;
  padding: 22px;
}

.wd-filter-select .form-style .icon-right {
  right: 18px;
}

.wd-filter-select .form-style:not(:first-child) {
  margin-top: 12px;
}

.wd-filter-select .form-style .form-control,
.wd-filter-select .form-style .nice-select {
  font-size: 14px;
  line-height: 22px;
  padding: 8px;
  padding-right: 40px;
}

.wd-filter-select .filter-advanced {
  display: flex;
  align-items: center;
  gap: 4px;
}

.wd-filter-select .filter-advanced .icon {
  font-size: 28px;
  color: #161e2d;
}

/* Toggle filtri extra (mobile) */
.filter-toggle-wrap {
  margin-top: 12px;
}

.btn-toggle-filters {
  display: none;
  width: 100%;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 14px;
  border: 1px dashed #cfd5de;
  border-radius: 8px;
  background: #f7f8fa;
  color: #161e2d;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
}

.btn-toggle-filters__hide {
  display: none;
}

.js-annunci-filters.is-filters-expanded .btn-toggle-filters__show {
  display: none;
}

.js-annunci-filters.is-filters-expanded .btn-toggle-filters__hide {
  display: inline;
}

.filters-more > .box > .form-style:first-child {
  margin-top: 0;
}

@media (max-width: 991.98px) {
  .btn-toggle-filters {
    display: inline-flex;
  }

  .js-annunci-filters:not(.is-filters-expanded) .filters-more {
    display: none;
  }

  .js-annunci-filters.is-filters-expanded .filters-more {
    display: block;
    margin-top: 12px;
  }
}

@media (min-width: 992px) {
  .filter-toggle-wrap {
    display: none;
  }

  .filters-more {
    display: block;
  }
}

.wd-filter-select .tf-btn {
  width: 100%;
}

.widget-filter-search {
  padding: 22px;
  border-radius: 16px;
  border: 1px solid #e4e4e4;
}

.widget-filter-search .wd-filter-select {
  border-radius: 0;
  background-color: transparent;
  padding: 0;
  margin-top: 20px;
  font-size: 13px;
  font-weight: 600;
}

.group-amenities.amenities-sidebar .text-cb-amenities {
    font-size: 12px;
}

.widget-filter-search .wd-filter-select .form-style input {
  color: #5c6368;
}

.widget-filter-search .wd-filter-select .form-style input::placeholder {
  color: #5c6368;
}

.widget-filter-search .wd-filter-select .form-style:not(:first-child) {
  margin-top: 12px;
}

.widget-filter-search .wd-filter-select .form-style .group-checkbox .group-amenities .amenities-item {
  display: flex;
  gap: 10px;
  align-items: center;
}

.widget-filter-search .wd-filter-select .form-style .group-checkbox .group-amenities .amenities-item label {
  margin-bottom: 0;
}

.widget-filter-search .wd-filter-select .form-style .group-checkbox .group-amenities .amenities-item:not(:first-child) {
  margin-top: 16px;
}

.widget-filter-search .wd-filter-select .form-style .group-checkbox .group-amenities .text-cb-amenities {
  font-weight: 400;
}

.widget-filter-search .wd-filter-select .widget-price .box-title-price {
  display: flex;
  gap: 8px;
  margin-bottom: 18px;
}

.widget-filter-search .wd-filter-select .widget-price .title-price {
  color: #5c6368;
}

.widget-filter-search .wd-filter-select .widget-price.wd-price-2 {
  margin: 30px 0px;
}

.widget-filter-search .nav-tab-form {
  gap: 10px;
  overflow: hidden;
  margin-bottom: 30px;
}

.widget-filter-search .nav-tab-form .nav-tab-item {
  flex-grow: 1;
}

.widget-filter-search .nav-tab-form .nav-tab-item .nav-link-item {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #e4e4e4;
  padding: 15px;
  border-radius: 99px;
  font-size: 16px;
  line-height: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #161e2d;
}

.widget-filter-search .nav-tab-form .nav-tab-item .nav-link-item:hover, .widget-filter-search .nav-tab-form .nav-tab-item .nav-link-item.active {
  background-color: var(--uc-primary-color);
  color: #ffffff;
}

.widget-filter-search .box:not(:last-child) {
  margin-bottom: 30px;
}

.widget-filter-search .wd-amenities {
  margin-top: 40px;
  height: 400px;
  overflow: auto;
}

.widget-filter-search .wd-amenities .title {
  margin-bottom: 20px;
}

.widget-filter-search .wd-amenities {
  scrollbar-width: thin;
  scrollbar-color: #e4e4e4 transparent;
}

.widget-filter-search .wd-amenities::-webkit-scrollbar {
  width: 6px;
}

.widget-filter-search .wd-amenities::-webkit-scrollbar-track {
  background: transparent;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.widget-filter-search .wd-amenities::-webkit-scrollbar-thumb {
  background: #e4e4e4;
  border-radius: 6px;
}

.widget-filter-search .wd-amenities::-webkit-scrollbar-thumb:hover {
  background: #cfcfcf;
}

.offcanvas.canvas-filter-mb .nav-tab-form {
  height: 80px;
  border-bottom: 1px solid #e4e4e4;
  background-color: #ffffff;
}

.offcanvas.canvas-filter-mb .wd-find-select {
  padding: 0;
  background-color: #f7f7f7;
}

.offcanvas.canvas-filter-mb .wd-find-select .inner-group {
  border: 0;
  border-radius: 0;
  display: block;
  padding: 0;
}

.offcanvas.canvas-filter-mb .wd-find-select .wd-show-filter-mb {
  display: none;
}

.offcanvas.canvas-filter-mb .wd-find-select .btn-show-advanced-mb {
  display: flex;
  align-items: center;
  gap: 8px;
}

.offcanvas.canvas-filter-mb .wd-find-select .btn-show-advanced-mb .icon {
  font-size: 20px;
}

.offcanvas.canvas-filter-mb .wd-find-select .btn-show-advanced-mb .text-advanced {
  font-weight: 600;
}

.offcanvas.canvas-filter-mb .wd-find-select .form-style {
  border: 0;
}

.offcanvas.canvas-filter-mb .wd-find-select .form-style:not(:last-child) {
  margin-bottom: 20px;
}

.offcanvas.canvas-filter-mb .wd-find-select .box-title-price {
  margin-bottom: 22px;
}

.offcanvas.canvas-filter-mb .wd-find-select .amenities-item {
  display: flex;
  gap: 8px;
}

.offcanvas.canvas-filter-mb .wd-find-select .amenities-item:not(:last-child) {
  margin-bottom: 8px;
}

.offcanvas.canvas-filter-mb .wd-find-select .amenities-item label {
  margin-bottom: 0;
}

.offcanvas.canvas-filter-mb .wd-find-select .group-amenities {
  margin-top: 20px;
}

.offcanvas.canvas-filter-mb .wd-find-select .title-price {
  font-size: 14px;
  line-height: 24px;
  color: #5c6368;
  font-weight: 500;
}

.search-popup-wrapper .wd-find-select {
  box-shadow: 0px 30px 60px 0px rgba(0, 0, 0, 0.1019607843);
}

.nice-select {
  -webkit-tap-highlight-color: transparent;
  background-color: #fff;
  border: 1px solid #e4e4e4;
  padding: 15px 18px;
  box-sizing: border-box;
  clear: both;
  cursor: pointer;
  display: block;
  /* float: left; */
  font-size: 14px;
  line-height: 22px;
  font-weight: 400;
  /* text-transform: capitalize; */
  outline: none;
  position: relative;
  transition: all linear 0.2s;
  user-select: none;
  white-space: nowrap;
  width: 100%;
  border-radius: 8px;
  color: #161e2d;
  text-align: start;
}

.nice-select:active,
.nice-select.open,
.nice-select:focus {
  border-color: #e4e4e4;
}

.nice-select:after {
  border-bottom: 1.7px solid #161e2d;
  border-right: 1.7px solid #161e2d;
  content: "";
  height: 8px;
  width: 8px;
  margin-top: -6px;
  pointer-events: none;
  position: absolute;
  right: 18px;
  top: 50%;
  -webkit-transform-origin: 66% 66%;
  -ms-transform-origin: 66% 66%;
  transform-origin: 66% 66%;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}

.nice-select.open:after {
  -webkit-transform: rotate(-135deg);
  -ms-transform: rotate(-135deg);
  transform: rotate(-135deg);
  -moz-transform: rotate(-135deg);
  -o-transform: rotate(-135deg);
}

.nice-select.open .list {
  opacity: 1;
  z-index: 10;
  pointer-events: auto;
  -webkit-transform: scale(1) translateY(0);
  -ms-transform: scale(1) translateY(0);
  transform: scale(1) translateY(0);
  width: 100%;
  -moz-transform: scale(1) translateY(0);
  -o-transform: scale(1) translateY(0);
  padding: 0;
  margin: 0;
}

.nice-select.disabled {
  border-color: #ededed;
  color: #999;
  pointer-events: none;
}

.nice-select.disabled:after {
  border-color: #cccccc;
}

.nice-select.wide {
  width: 100%;
}

.nice-select.wide .list {
  left: 0 !important;
  right: 0 !important;
}

.nice-select.right {
  float: right;
}

.nice-select.right .list {
  left: auto;
  right: 0;
}

.nice-select.small {
  font-size: 12px;
  height: 36px;
  line-height: 34px;
}

.nice-select.small:after {
  height: 4px;
  width: 4px;
}

.nice-select.small .option {
  line-height: 34px;
  min-height: 34px;
}

.nice-select .list {
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 0 0 1px rgba(68, 68, 68, 0.11);
  box-sizing: border-box;
  margin-top: 4px;
  opacity: 0;
  overflow: hidden;
  padding: 0;
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-transform: scale(0.75) translateY(-21px);
  -ms-transform: scale(0.75) translateY(-21px);
  transform: scale(0.75) translateY(-21px);
  -webkit-transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  transition: all 0.2s cubic-bezier(0.5, 0, 0, 1.25), opacity 0.15s ease-out;
  z-index: 9;
  width: 100%;
  font-size: 14px;
  max-height: 155px;
  overflow: auto;
}

.nice-select .list.style {
  max-height: unset;
}

.nice-select .list::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  background-color: #f5f5f5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

.nice-select .list::-webkit-scrollbar-thumb {
  background-color: #a7a7a7;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

.nice-select .list::-webkit-scrollbar {
  width: 6px;
  height: 4px;
  background-color: #f5f5f5;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5px;
  border-radius: 5px;
  -webkit-backface-visibility: hidden;
  -moz-backface-visibility: hidden;
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
}

.nice-select .option {
  cursor: pointer;
  font-weight: 500;
  line-height: 40px;
  list-style: none;
  min-height: 40px;
  outline: none;
  padding-left: 18px;
  padding-right: 29px;
  font-size: 14px;
  text-align: left;
  -webkit-transition: all 0.2s;
  transition: all 0.2s;
  color: #161e2d;
  text-align: start;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
  background-color: var(--uc-primary-color);
  color: #000;
}

.nice-select .option.selected {
  font-weight: 600;
}

.nice-select .option.disabled {
  color: #161e2d;
  cursor: default;
}

.no-csspointerevents .nice-select .list {
  display: none;
}

.no-csspointerevents .nice-select.open .list {
  display: block;
}

.box-select-1 .nice-select {
  min-width: 120px;
  padding-right: 40px;
}

.flat-section {
  padding-top: 100px;
  padding-bottom: 100px;
}

.flat-section-v2 {
  padding-top: 150px;
  padding-bottom: 100px;
}

.flat-section-v3 {
  padding-top: 50px;
  padding-bottom: 100px;
}

.flat-section-v4 {
  padding-top: 50px;
  padding-bottom: 50px;
}

.sidebar-blog .widget-box {
  margin-top: 40px;
}

.flag-tag {
    border: 1px solid var(--uc-primary-color);
    background-color: var(--uc-primary-color);
    text-transform: capitalize;
    border-radius: 50px;
    display: flex;
    font-weight: 500;
    height: 26px;
    font-size: 12px;
    padding: 0 8px;
    color: #000000;
    align-items: center;
    justify-content: center;
    margin:0 6px;
}

.flag-tag.style-1 {
  background-color: rgba(0, 0, 0, 0.3);
}

.flag-tag.style-2 {
  background-color: #ffffff;
  color: #161e2d;
  font-size: 14px;
  line-height: 24px;
  letter-spacing: 0.8px;
}

.flag-tag.style-3 {
  font-size: 16px;
  line-height: 26px;
}

.flag-tag.success,
.flag-tag.primary {
    background-color: var(--uc-primary-color);
    color: #000;
}

.info-box {
  background: #FFF;
  border-radius: 12px;
  font-size: 12px;
}

.info-box .box-top {
  padding: 20px 20px 16px;
  border-bottom: 1px solid #E4E4E4;
}

.info-box .title {
  margin-top: 12px;
}

.info-box .desc {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
  color: #5C6368;
}

.info-box .meta-list {
  margin-top: 20px;
  display: flex;
  align-items: center;
  column-gap: 30px;
  row-gap: 15px;
  flex-wrap: wrap;
}

.info-box .meta-list .item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.info-box .meta-list .item .icon {
  font-size: 28px;
  color: #5c6368;
}

.info-box .meta-list .item span {
  font-weight: 700;
  font-size: 18px;
  line-height: 28px;
}

.info-box .box-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  flex-wrap: wrap;
  gap: 15px;
}

.flat-filter-search-v2 .flat-tab-form {
  display: flex;
  padding: 30px;
  gap: 12px;
  box-shadow: 0px 4px 18px 0px rgba(0, 0, 0, 0.0784313725);
  margin-bottom: 40px;
}

.flat-filter-search-v2 .flat-tab-form .nav-tab-form {
  gap: 6px;
  margin-bottom: 0;
}

.flat-filter-search-v2 .flat-tab-form .nav-tab-form .nav-link-item {
  border-radius: 99px;
  background-color: #e4e4e4;
  color: #161e2d;
  padding: 16px 25px;
}

.flat-filter-search-v2 .flat-tab-form .nav-tab-form .nav-link-item.active, .flat-filter-search-v2 .flat-tab-form .nav-tab-form .nav-link-item:hover {
  background-color: var(--uc-primary-color);
  color: #ffffff;
}

.flat-filter-search-v2 .flat-tab-form .tab-content {
  position: relative;
  flex-grow: 1;
}

.flat-filter-search-v2 .flat-tab-form .wd-find-select {
  gap: 12px;
  padding: 0;
  flex-wrap: wrap;
}

.flat-filter-search-v2 .flat-tab-form .wd-find-select .inner-group {
  padding: 0px;
  gap: 12px;
}

.flat-filter-search-v2 .flat-tab-form .wd-search-form {
  top: 131%;
  margin-top: 0;
}

.flat-filter-search-v2 .flat-tab-form .form-style {
  border: none !important;
}

.flat-filter-search-v2 .flat-tab-form .form-style .nice-select,
.flat-filter-search-v2 .flat-tab-form .form-style .form-control {
  padding: 16px 18px;
  border: 1px solid #e4e4e4;
  color: #5c6368;
  font-weight: 400;
  border-radius: 999px;
  padding-right: 48px;
  font-size: 14px;
  line-height: 19.6px;
}

.flat-filter-search-v2 .flat-tab-form .search-form {
  position: relative;
}

.flat-filter-search-v2 .flat-tab-form .search-form .icon {
  font-size: 16px;
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.flat-filter-search-v2 .flat-tab-form .search-form .form-control {
  padding-left: 44px !important;
}

.trcim-box {
  display: block;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e4e4e4;
}

.trcim-box .images-group {
  position: relative;
  display: block;
}

.trcim-box .images-group .top {
  left: 16px;
  right: 16px;
  top: 16px;
  display: flex;
  justify-content: space-between;
  position: absolute;
  align-items: flex-start;
  z-index: 1;
  gap: 8px;
  flex-wrap: wrap;
}

.trcim-box .images-group .bottom {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 12px;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #ffffff;
}

.trcim-box .images-group:after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 69.05%, rgba(0, 0, 0, 0.7) 100%);
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.trcim-box .images-style {
  position: relative;
  overflow: hidden;
}

.trcim-box .images-style img {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
  width: 100%;
}

.trcim-box .content-top {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid #e4e4e4;
}

.trcim-box .content-top .meta-list {
    margin-top: 14px !important;
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
}

.trcim-box .content-top .meta-list .item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.trcim-box .content-top .meta-list .item .icon {
  font-size: 16px;
  color: #a3abb0;
}

.trcim-box .content-top .archive-bottom {
  padding: 0;
}

.trcim-box .archive-bottom {
  padding: 20px;
}

.trcim-box .archive-bottom .content-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.trcim-box:hover:not(.list-style-1, .list-style-2) .images-style img {
  transform: scale(1.05);
}

.trcim-box.list-style-1 {
  display: flex;
  border-color: transparent;
}

.trcim-box.list-style-1 .images-style {
  height: 100%;
}

.trcim-box.list-style-1 .images-style img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.trcim-box.list-style-1 .archive-top {
  width: 36.5%;
}

.trcim-box.list-style-1 .archive-top .top {
  left: 10px;
  top: 10px;
}

.trcim-box.list-style-1 .images-group {
  width: 100%;
  height: 100%;
}

.trcim-box.list-style-1 .images-group::after {
  content: none;
}

.trcim-box.list-style-1 .content-top {
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.trcim-box.list-style-1 .archive-bottom {
  flex-grow: 1;
  background-color: #ffffff;
}

.trcim-box.list-style-1 .archive-bottom .location {
  margin-top: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
  color: #5c6368;
}

.flat-recommended .trcim-box {
  margin-bottom: 30px;
}

.flat-recommended .tf-btn {
  margin-top: 10px;
}

.flat-property-box .archive-top {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e4e4e4;
}

.flat-property-box .meta-list {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.flat-property-box .meta-list .item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.flat-property-box .meta-list .item .icon {
  font-size: 16px;
  color: #a3abb0;
}

.flat-property-box .archive-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
}

.box-location-v3 .content .btn-view {
  margin-top: 20px;
  gap: 4px;
}

.box-location-v3 .content .btn-view .text {
  font-size: 14px;
  line-height: 24px;
  font-weight: 600;
}

.box-location-v3 .content .btn-view .text::before {
  background-color: #161e2d;
}

.box-service .tf-btn {
  padding-left: 45px;
  padding-right: 45px;
}

.box-service:hover .tf-btn {
  background-color: var(--uc-primary-color);
  color: #ffffff;
}

.box-service:hover .tf-btn .icon {
  color: #ffffff;
}

.flat-testimonial-v2 .content-right .archive-top {
  max-width: 675px;
}

.flat-testimonial-v2 .archive-bottom {
  margin-top: 30px;
  position: relative;
  overflow: hidden;
}

.box-benefit .icon-box {
  flex-shrink: 0;
}

.box-benefit .icon-box .icon {
  font-size: 40px;
  transition: all 0.8s ease;
  display: inline-block;
  color: var(--uc-primary-color);
}

.box-benefit .content .btn-view {
  margin-top: 12px;
}

.box-benefit:hover .icon-box .icon {
  transform: rotateY(360deg);
}

.wrap-benefit-v2 .box-left .box-title {
  margin-bottom: 20px;
}

.wrap-benefit-v2 .box-left .description {
  font-size: 16px;
  line-height: 26px;
}

.wrap-property .box-right .trcim-box:not(:last-child) {
  margin-bottom: 30px;
}

.box-agent .content .tf-btn {
  margin-top: 16px;
}

.trcim-categories .icon-box {
  overflow: hidden;
}

.trcim-categories .icon-box .icon {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
  font-size: 80px;
  color: #5c6368;
}

.trcim-categories .icon-box svg path {
  -webkit-transition: all 0.4s ease;
  -moz-transition: all 0.4s ease;
  -ms-transition: all 0.4s ease;
  -o-transition: all 0.4s ease;
  transition: all 0.4s ease;
}

.trcim-categories.active .icon-box .icon, .trcim-categories:hover .icon-box .icon {
  color: var(--uc-primary-color);
}

.trcim-categories.active .icon-box svg path, .trcim-categories:hover .icon-box svg path {
  fill: var(--uc-primary-color);
}

.trcim-categories.style-02.active .icon-box .icon, .trcim-categories.style-02:hover .icon-box .icon {
  color: #ffffff;
}

.trcim-categories.style-02.active .icon-box svg path, .trcim-categories.style-02:hover .icon-box svg path {
  fill: #ffffff;
}

.trcim-categories-v2 .icon-box path {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.trcim-categories-v2.active .icon-box svg path, .trcim-categories-v2:hover .icon-box svg path {
  fill: #ffffff;
}

#map .infoBox {
  margin-left: 160px;
  margin-bottom: -140px;
  position: relative;
}

#map .infoBox i {
    position: absolute;
    z-index: 1;
    top: 6px;
    right: 6px;
    background-color: #000;
    cursor: pointer;
    color: white;
    height: 20px;
    width: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 28px;
    transition: all .4s ease;
}

#map .infoBox i:hover {
    background-color: var(--uc-primary-color);
    color: #000;
}

.map-listing-item {
  position: relative;
}

.map-listing-item .infoBox-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  border-radius: 8px;
  z-index: 9;
  text-align: center;
  cursor: pointer;
  transition: all 300ms ease;
}

.map-listing-item .inner-box {
  position: relative;
  border-radius: 16px;
  background: #ffffff;
  width: fit-content;
  box-shadow: 0px 10px 25px 0px rgba(54, 95, 104, 0.1019607843);
  display: flex;
  align-items: center;
  padding: 16px;
  padding-right: 40px;
  gap: 16px;
}

.map-listing-item .inner-box .image-box {
  width: 140px;
  height: 140px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.map-listing-item .inner-box .image-box img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 500ms ease;
}

.map-listing-item .inner-box .box-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid #e4e4e4;
}

.map-listing-item .inner-box .box-bottom .avt-box {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  line-height: 19.6px;
  font-family: "Albert Sans", sans-serif;
}

.map-listing-item .inner-box .box-bottom .avt-box img {
  width: 34px;
  height: 34px;
  border-radius: 50%;
}

.map-listing-item .inner-box .box-bottom .price {
  font-size: 18px;
  line-height: 25.2px;
  font-weight: 600;
  font-family: "Albert Sans", sans-serif;
}

.map-listing-item .content {
  position: relative;
  flex-grow: 1;
}

.map-listing-item .content .location {
  color: #5c6368;
  font-size: 14px;
  line-height: 19.6px;
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: "Albert Sans", sans-serif;
}

.map-listing-item .content .location .text {
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.map-listing-item .content .location .icon {
  font-size: 16px;
  color: #a3abb0;
}

.map-listing-item .content .title {
  font-size: 18px;
  line-height: 25.2px;
  text-transform: capitalize;
  margin-top: 4px;
  font-weight: 600;
  margin-top: 8px;
  font-family: "Albert Sans", sans-serif;
}

.map-listing-item .content .title a {
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.map-listing-item .content .list-info {
  margin-top: 8px;
  display: flex;
  gap: 16px;
}

.map-listing-item .content .list-info li {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 14px;
  line-height: 19.6px;
  font-family: "Albert Sans", sans-serif;
}

.map-listing-item .content .list-info li .icon {
  font-size: 16px;
  color: #a3abb0;
}

.contact-map-item .infoBox-close {
  position: absolute;
  right: 8px;
  top: 8px;
  width: 24px;
  height: 24px;
  line-height: 24px;
  font-size: 12px;
  border-radius: 8px;
  z-index: 9;
  text-align: center;
  cursor: pointer;
  transition: all 300ms ease;
}

.cluster-map-visible {
  text-align: center;
  font-size: 16px !important;
  color: #ffffff !important;
  font-weight: 500 !important;
  border-radius: 50%;
  width: 40px !important;
  height: 40px !important;
  line-height: 40px !important;
  background-color: var(--uc-primary-color);
  border: 8px solid rgba(238, 103, 66, 0.1);
  box-shadow: 0 7px 30px rgba(33, 33, 33, 0.3);
  box-sizing: content-box;
  background-clip: content-box;
}

.flat-map .top-map {
  height: 800px;
}

.wrap-banner .box-left {
  padding: 60px 20px 60px 80px;
}

.wrap-banner .box-left .box-title {
  margin-bottom: 30px;
  margin-left: 0;
  margin-right: 0;
}

.wrapper-layout {
  display: flex;
  height: 100%;
}

.wrapper-layout .wrap-left {
  width: 54.7%;
  position: relative;
  height: calc(100vh - 264px);
  overflow-x: hidden;
  overflow-y: auto;
  padding: 15px;
  padding-bottom: 0px;
}

.wrapper-layout .wrap-left::-webkit-scrollbar {
  width: 12px;
}

.wrapper-layout .wrap-left::-webkit-scrollbar-thumb {
  background: #e4e4e4;
}

.wrapper-layout .wrap-left .title {
  font-weight: 600;
  margin-bottom: 20px;
}

.wrapper-layout .wrap-right {
  width: 45.3%;
  position: fixed;
  height: calc(100vh - 264px);
  right: 0;
  bottom: 0;
}

.wrapper-layout .wrap-right #map {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.wrapper-layout .trcim-box {
  margin-bottom: 30px;
}

.wrapper-layout.layout-2 .wrap-left {
  height: calc(100vh - 232px);
  width: 45%;
  padding: 30px;
  padding-bottom: 0;
  padding-top: 0;
}

.wrapper-layout.layout-2 .wrap-left::-webkit-scrollbar {
  width: 8px;
}

.wrapper-layout.layout-2 .wrap-left::-webkit-scrollbar-thumb {
  background: #e4e4e4;
}

.wrapper-layout.layout-2 .wrap-right {
  height: calc(100vh - 232px);
  width: 54%;
}

.wrapper-layout .box-title-listing {
  margin-bottom: 30px;
}

.wrapper-layout-3 {
  display: flex;
  height: 100%;
  padding-top: 40px;
}

.wrapper-layout-3 .wrap-sidebar {
  height: calc(100vh - 118px);
  width: 22%;
  overflow-x: hidden;
  overflow-y: auto;
  padding: 20px;
  padding-top: 0;
  padding-right: 0;
}

.wrapper-layout-3 .wrap-sidebar {
  scrollbar-width: thin;
  scrollbar-color: transparent transparent;
}

.wrapper-layout-3 .wrap-sidebar::-webkit-scrollbar {
  width: 8px;
}

.wrapper-layout-3 .wrap-sidebar::-webkit-scrollbar-track {
  background: transparent;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.wrapper-layout-3 .wrap-sidebar::-webkit-scrollbar-thumb {
  background: transparent;
}

.wrapper-layout-3 .wrap-sidebar::-webkit-scrollbar-thumb:hover {
  background: transparent;
}

.wrapper-layout-3 .wrap-sidebar .widget-filter-search {
  padding: 22px;
}

.wrapper-layout-3 .box-title-listing {
  margin-bottom: 30px;
}

.wrapper-layout-3 .wrap-inner {
  padding: 40px;
  padding-top: 0;
  width: 38%;
  padding-bottom: 0;
  height: calc(100vh - 118px);
  overflow-x: hidden;
  overflow-y: auto;
}

.wrapper-layout-3 .wrap-inner {
  scrollbar-width: thin;
  scrollbar-color: #e4e4e4 transparent;
}

.wrapper-layout-3 .wrap-inner::-webkit-scrollbar {
  width: 8px;
}

.wrapper-layout-3 .wrap-inner::-webkit-scrollbar-track {
  background: transparent;
  box-shadow: none;
  -webkit-box-shadow: none;
}

.wrapper-layout-3 .wrap-inner::-webkit-scrollbar-thumb {
  background: #e4e4e4;
  border-radius: 8px;
}

.wrapper-layout-3 .wrap-inner::-webkit-scrollbar-thumb:hover {
  background: #cfcfcf;
}

.wrapper-layout-3 .wrap-map {
  height: calc(100vh - 107px);
  width: 40%;
  right: 0;
  bottom: 0;
  position: fixed;
}

.wrapper-layout-3 .wrap-map #map {
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
}

.wrapper-layout-3 .trcim-box {
    border: none !important;
    margin-bottom: 30px;
}

.wrapper-layout-3 .trcim-box .images-style {
    border-radius: 14px;
    overflow: hidden;
}

.trcim-box .archive-bottom {
    border: 1px solid #EEE;
    border-radius: 14px;
    margin-left: 14px;
}

.trcim-box .property-type,
.offer-label {
    border: 1px solid var(--uc-primary-color);
    background-color: var(--uc-primary-color);
    text-transform: capitalize;
    border-radius: 50px;
    display: flex;
    font-weight: 500;
    height: 26px;
    font-size: 12px;
    padding: 0 8px;
    color: #000;
    align-items: center;
    justify-content: center;
    margin:0 6px;
}
.offer-label {
    background-color: #000;
    color: var(--uc-primary-color);
}

.box-title-listing {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
  flex-wrap: wrap;
  gap: 15px;
}

.box-title-listing .box-filter-tab {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}

.box-title-listing .box-filter-tab .nice-select {
  padding: 0px 18px;
  line-height: 48px;
  border-radius: 10px;
  font-family: "Poppins", sans-serif;
}

.box-title-listing .box-filter-tab .list-sort {
  min-width: 179px;
  width: auto;
  height: 48px;
}

.box-title-listing .box-filter-tab .list-page {
  width: 160px;
  height: 48px;
}

.box-title-listing.style-1 {
  margin-bottom: 30px;
}

.box-title-listing .box-left {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.box-title-listing .box-left .text {
  font-size: 14px;
  line-height: 21px;
  font-family: "Poppins", sans-serif;
}

.single-sidebar .widget-box {
  padding: 30px;
  border-radius: 16px;
  border: 1px solid #e4e4e4;
  overflow: hidden;
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.0509803922);
}

.single-sidebar .widget-box:not(:last-child) {
  margin-bottom: 40px;
}

.box-latest-property .title {
  margin-bottom: 20px;
}

.box-latest-property .latest-property-item:not(:last-child) {
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #efefef;
}

.latest-property-item {
    display: flex;
    gap: 12px;
}
.latest-property-item .content ul {
    margin: 6px 0 !important;
    font-size: 11px;
    font-weight: 500;
}
.latest-property-item .content .icon {
    font-size: 12px !important;
}
.latest-property-item .content .titolo-im {
    font-weight: 700;
}
.latest-property-item .content .price-im {
    font-weight: 600;
}

.latest-property-item .images-style {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  width: 112px;
  height: 80px;
}

.latest-property-item .images-style img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.latest-property-item .meta-list {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 6px;
  flex-wrap: wrap;
}

.latest-property-item .meta-list .item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.latest-property-item .meta-list .item .icon {
  font-size: 16px;
  color: #a3abb0;
}

.latest-property-item .link {
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  display: -webkit-box;
  overflow: hidden;
}

.latest-property-item:hover .images-style img {
  transform: scale(1.05);
}

.fixed-sidebar {
  position: sticky;
  top: 24px;
}

.fixed-sidebar-2 {
  position: sticky;
  top: 20px;
}

.widget-sidebar .widget-box:not(:last-child) {
  margin-bottom: 30px;
}

.flat-property-detail-v2 .single-property-element {
  padding: 30px;
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.0509803922);
  border-radius: 30px;
  background-color: #ffffff;
}

.flat-property-detail-v2 .single-property-element .header-property-detail {
  margin-bottom: 40px;
}

.flat-property-detail-v2 .single-property-element .header-property-detail .content-bottom .icon-box {
  gap: 8px;
}

.flat-property-detail-v2 .single-property-element .single-property-desc {
  margin-bottom: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid #e4e4e4;
}

.flat-property-detail-v2 .single-sidebar .widget-box {
  border-color: transparent;
  background-color: #ffffff;
}

.flat-property-detail-v2 .single-sidebar .box-latest-property {
  padding: 30px;
  box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.0509803922);
  border-radius: 16px;
  overflow: hidden;
}

.header-property-detail .content-top {
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #e4e4e4;
  flex-wrap: wrap;
  gap: 20px;
}

.header-property-detail .content-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

.header-property-detail .content-bottom .info-box .label {
  margin-bottom: 12px;
  font-weight: 600;
  opacity: 0.8;
  font-size: 16px;
  line-height: 21.86px;
}

.header-property-detail .content-bottom .info-box .meta {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.header-property-detail .content-bottom .info-box .meta-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.header-property-detail .content-bottom .info-box .meta-item .icon {
  font-size: 16px;
  color: #a3abb0;
}

.header-property-detail .content-bottom .icon-box {
  display: flex;
  gap: 16px;
}

.header-property-detail .content-bottom .icon-box .item {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #e4e4e4;
  border-radius: 10px;
}

.header-property-detail .content-bottom .icon-box .item .icon {
  font-size: 18px;
  color: #5c6368;
}

.header-property-detail .content-bottom .icon-box .item svg {
  width: 18px;
}

.header-property-detail .content-bottom .icon-box .item:hover {
  background-color: var(--uc-primary-color);
}

.header-property-detail .content-bottom .icon-box .item:hover .icon {
  animation: 0.3s link-icon2 linear;
}

.header-property-detail .content-bottom .icon-box .item:hover .icon path {
  stroke: #ffffff;
}

.header-property-detail .content-bottom .box-left {
  display: flex;
  align-items: center;
  gap: 40px;
  flex-wrap: wrap;
}

.single-property-element .title {
  text-transform: capitalize;
  margin-bottom: 16px;
}

.single-property-element:not(:last-child) {
  padding-bottom: 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid #e4e4e4;
}

.single-property-desc .title {
  margin-bottom: 16px;
}

.single-property-desc .trcim-desc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.single-property-desc .trcim-desc-head .title {
  margin-bottom: 0;
}

.single-property-desc .trcim-lang-tabs {
  margin: 0;
  margin-bottom: 0;
  padding: 0;
  list-style: none;
  gap: 8px;
}

.single-property-desc .trcim-lang-tabs .nav-link-item {
  min-width: 42px;
  padding: 8px 14px;
  font-size: 13px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
}

.single-property-desc .trcim-desc-body {
    line-height: 1.88;
    font-size: 14px;
}

.single-property-desc .btn-view {
  margin-top: 16px;
}

.single-property-desc .btn-view .text::before {
  background-color: #161e2d;
}

.single-property-overview .title {
  margin-bottom: 16px;
}

.single-property-overview .info-box {
  display: flex;
  flex-wrap: wrap;
  column-gap: 40px;
  row-gap: 30px;
}

.single-property-overview .info-box .item {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 140px;
}

.single-property-overview .info-box .item span {
  font-weight: 600;
}

.single-property-overview .info-box .item .label {
  color: #5c6368;
  font-weight: 400;
  display: block;
  opacity: 0.8;
}

.single-property-overview .info-box .item .box-icon {
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 8px;
}

.single-property-overview .info-box .item .box-icon .icon {
  font-size: 24px;
}

/* Certificazione energetica — SVG da DB (annunci_ce.icon) */
.li-ce {
  align-items: center;
  flex-direction: row;
  flex-wrap: nowrap;
  column-gap: 4px;
  display: flex;
}

.icon-ce,
.single-property-overview .box-icon svg {
  display: inline-block;
  margin-top: -2px;
  width: 42px;
  height: auto;
  vertical-align: middle;
}

/* .single-property-overview .info-box .item:hover .box-icon {
  background-color: var(--uc-primary-color);
}

.single-property-overview .info-box .item:hover .box-icon .icon {
  color: #ffffff;
  animation: 0.3s link-icon2 linear;
} */

.flat-property-detail-v2 .info-box .item {
  width: 160px;
}

.single-property-video .title {
  margin-bottom: 20px;
}

.single-property-video .img-video {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.single-property-video .img-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-property-video .img-video .btn-video {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.single-property-video .img-video .btn-video .icon {
  color: var(--uc-primary-color);
  font-size: 14px;
  margin-left: 4px;
}

.single-property-video .img-video .btn-video::after, .single-property-video .img-video .btn-video::before {
  position: absolute;
  content: "";
  top: 0;
  bottom: 0;
  right: 0;
  left: 0;
  border-radius: 9999px;
  animation: ripple 3s infinite;
}

.single-property-video .img-video .btn-video::after {
  animation-delay: 0.5s;
}

.single-property-video .img-video .btn-video::before {
  animation-delay: 0.9s;
}

.single-property-video .img-video::before {
  content: "";
  inset: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.single-property-info {
    padding-bottom: 32px;
    font-size: 13px;
}

.single-property-element .wrap-map {
    border-radius: 28px;
}

.single-property-info .title {
  margin-bottom: 16px;
}

.single-property-info .inner-box {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}

.single-property-info .inner-box .label {
  font-weight: 600;
  width: 40%;
}

.single-property-feature .title {
  margin-bottom: 16px;
}

.single-property-feature .wrap-feature {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  justify-content: space-between;
}

.single-property-feature .wrap-feature.wrap-feature-stack {
  flex-direction: column;
  justify-content: flex-start;
}

.single-property-feature .wrap-feature.wrap-feature-stack .box-feature {
  width: 100%;
}

.single-property-feature .wrap-feature .box-feature ul {
    list-style-type: none;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    display: flex;
    gap: 14px;
}

.single-property-feature .wrap-feature .box-feature ul li {
    background-color: #000;
    padding: 7px 14px 7px 28px;
    margin: 0 !important;
    border-radius: 10px;
    white-space: nowrap;
}

.single-property-feature .wrap-feature .box-feature ul li:not(:last-child) {
  margin-bottom: 10px;
}

.single-property-feature .wrap-feature .box-feature .feature-item {
    background-color: var(--uc-primary-color);
    position: relative;
    font-weight: 600;
    font-size: 13px;
    color: #000;
    gap: 8px;
}

.single-property-feature .wrap-feature .box-feature .feature-item:after {
    background-color: #000;
    position: absolute;
    border-radius: 50%;
    height: 12px;
    content: '';
    width: 12px;
    z-index: 1;
    top: 9px;
    left: 9px;
}

.single-property-map .title {
  margin-bottom: 20px;
}

.single-property-map .map,
.single-property-map #map-property {
  width: 100%;
  height: 478px;
  border-radius: 30px;
  overflow: hidden;
}

.single-property-map .info-map {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
  margin-top: 20px;
}

.single-property-map .info-map li {
  display: flex;
  gap: 10px;
}

.single-property-map .info-map li:not(:last-child) {
  margin-bottom: 12px;
}

.single-property-map .info-map li .label {
  width: 40%;
}

.single-property-floor .title {
  margin-bottom: 20px;
}

.single-property-floor .box-floor .floor-item:not(:last-child) {
  margin-bottom: 20px;
}

.single-property-floor .floor-item {
  padding: 0px 20px;
  background-color: #f7f7f7;
  border-radius: 12px;
}

.single-property-floor .floor-item .floor-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 15px;
  padding: 17px 0px;
}

.single-property-floor .floor-item .floor-header .inner-left {
  display: flex;
  align-items: center;
}

.single-property-floor .floor-item .floor-header .inner-left .icon {
  flex-shrink: 0;
  margin-right: 16px;
  margin-top: -2px;
  display: inline-block;
  transform: rotate(90deg);
  font-size: 18px;
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -ms-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.single-property-floor .floor-item .floor-header .inner-right {
  display: flex;
  gap: 30px;
}

.single-property-floor .floor-item .floor-header .inner-right .icon {
  font-size: 20px;
  color: #a3abb0;
}

.single-property-floor .floor-item .floor-header:not(.collapsed) .inner-left .icon {
  transform: rotate(-90deg);
}

.single-property-floor .floor-item .faq-body {
  padding: 17px 0px;
  border-top: 1px solid #e4e4e4;
}

.single-property-floor .floor-item .faq-body .box-img {
  padding: 20px 30px;
  background-color: #ffffff;
  border-radius: 12px;
  overflow: hidden;
}

.single-property-attachments .title {
  margin-bottom: 20px;
}

.single-property-attachments .attachments-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.single-property-attachments .attachments-item .box-icon {
  border-radius: 8px;
  background-color: #f7f7f7;
}

.single-property-attachments .attachments-item .icon {
  font-size: 24px;
}

.single-property-explore .title {
  margin-bottom: 20px;
}

.single-property-explore .box-img {
  position: relative;
  border-radius: 30px;
  overflow: hidden;
}

.single-property-explore .box-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.single-property-explore .box-img .box-icon {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
}

.single-property-explore .box-img .box-icon .icon {
  display: inline-block;
  color: #ffffff;
  font-size: 60px;
  -webkit-transition: all 0.5s ease;
  -moz-transition: all 0.5s ease;
  -ms-transition: all 0.5s ease;
  -o-transition: all 0.5s ease;
  transition: all 0.5s ease;
  -webkit-animation: rotate1 5s infinite ease-in-out;
  animation: rotate1 5s infinite ease-in-out;
}

.single-property-explore .box-img::before {
  content: "";
  inset: 0;
  position: absolute;
  background-color: rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.single-property-nearby .title {
  margin-bottom: 16px;
}

.single-property-nearby .box-nearby {
  margin-top: 16px;
}

.single-property-nearby .box-nearby .item-nearby:not(:last-child) {
  margin-bottom: 8px;
}

.single-property-nearby .item-nearby {
  display: flex;
}

.single-property-nearby .item-nearby .label {
  width: 35%;
  color: #5c6368;
  opacity: 0.8;
}

.single-property-loan .title {
  margin-bottom: 20px;
}

.single-property-loan .box-loan-calc {
  border-radius: 16px;
  background-color: #f7f7f7;
}

.single-property-loan .box-loan-calc .box-top {
  padding: 20px;
  display: grid;
  gap: 20px;
}

.single-property-loan .box-loan-calc .item-calc .label {
  font-weight: 600;
  margin-bottom: 8px;
}

.single-property-loan .box-loan-calc .box-bottom {
  border-top: 1px solid #e4e4e4;
  padding: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.single-property-loan .box-loan-calc .form-control {
  background-color: #FFF;
  padding: 15px 18px;
  color: #000;
}

.single-property-loan .box-loan-calc .tf-btn {
  min-width: 220px;
}

.single-wrapper-review .wrap-review .tf-btn {
  min-width: 210px;
}

.flat-latest-property .box-title {
  margin-bottom: 30px;
}

.single-property-contact .title {
  margin-bottom: 30px;
}

.single-property-contact .box-avatar {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.single-property-contact .box-avatar .name {
  margin-bottom: 12px;
}

.single-property-contact .box-avatar .list li .icon {
  font-size: 14px;
  color: #a3abb0;
}

.single-property-contact .box-avatar .list li:not(:last-child) {
  margin-bottom: 6px;
}

.single-property-contact .contact-form {
  margin-top: 0;
}

.single-property-contact .contact-form .ip-group textarea,
.single-property-contact .contact-form .ip-group textarea.form-control {
  height: 130px;
  min-height: 130px;
  resize: vertical;
}

.single-property-contact .contact-form .ip-group:not(:last-child) {
  margin-bottom: 12px;
}

.single-property-contact .contact-form .ip-group .tf-btn {
  margin-top: 18px;
}

.single-property-contact .textarea-group {
  margin-top: 30px;
}

/* Override form Tercasa/control-dark: bordi visibili stile trcim */
.single-property-contact .form-control,
.single-property-contact input[type="text"],
.single-property-contact input[type="tel"],
.single-property-contact input[type="email"],
.single-property-contact textarea {
  display: block;
  width: 100%;
  border: 1px solid #e4e4e4;
  border-radius: 8px;
  padding: 14px 16px;
  min-height: 48px;
  background-color: #ffffff;
  color: #161e2d;
  font-size: 15px;
  line-height: 1.4;
  font-weight: 400;
  box-shadow: none;
  outline: 0;
}

.single-property-contact .form-control:focus,
.single-property-contact input:focus,
.single-property-contact textarea:focus {
  border-color: var(--uc-primary-color);
  background-color: #ffffff;
  box-shadow: none;
  outline: none;
}

.single-property-contact input::placeholder,
.single-property-contact textarea::placeholder {
  color: #5c6368;
  opacity: 1;
}

.single-property-contact .privacy-check {
  font-size: 13px;
  line-height: 1.45;
  color: #5c6368;
}

.single-property-contact .privacy-check label {
    font-size: 12px;
    line-height: 1.5;
}

.single-property-contact .privacy-check a {
  text-decoration: underline;
  color: var(--uc-primary-color);
}

.single-property-contact .tf-btn.w-100 {
  width: 100%;
  min-width: 0;
}

.single-property-whychoose .title {
  margin-bottom: 16px;
}

.single-property-whychoose .box-whychoose .item-why {
  display: flex;
  align-items: center;
  gap: 8px;
}

.single-property-whychoose .box-whychoose .item-why .icon {
  font-size: 24px;
}

.single-property-whychoose .box-whychoose .item-why:not(:last-child) {
  margin-bottom: 12px;
}

.flat-property-detail-v2 .wrapper-onepage:not(:last-child) {
  margin-bottom: 30px;
}

.widget-box-header-single {
  background-color: #ffffff;
  border-radius: 16px;
  margin-bottom: 30px;
}

.widget-box-header-single .header-property-detail {
  padding: 0;
}

.widget-box-header-single .header-property-detail .content-top {
  padding: 30px 30px 20px;
  margin-bottom: 20px;
}

.widget-box-header-single .header-property-detail .content-bottom {
  padding: 0px 30px 40px;
}

.widget-box-header-single .single-property-desc {
  padding: 0px 30px 40px;
  border-bottom: 1px solid #e4e4e4;
}

.widget-box-header-single .single-property-overview {
  padding: 40px 30px;
}

.widget-box-single {
  padding: 30px;
  border-radius: 16px;
  background-color: #ffffff;
}

.widget-box-single.single-property-info {
  margin-bottom: 30px;
}

.single-property-loan-v2 .title {
  margin-bottom: 12px;
}

.single-property-loan-v2 .item-calc:not(:last-child) {
  margin-bottom: 12px;
}

.single-property-loan-v2 .item-calc label {
  margin-bottom: 8px;
  color: #5c6368;
}

.single-property-loan-v2 .item-calc input {
  padding: 10px 16px;
}

.single-property-loan-v2 .box-bottom {
  margin-top: 20px;
}

.single-property-loan-v2 .box-bottom .tf-btn {
  width: 100%;
  margin-bottom: 16px;
}

.wrapper-sidebar-right .box-latest-property {
  padding-right: 0px;
}

.flat-gallery-single .item1 .box-btn .tf-btn {
  padding: 16px 30px;
}

.flat-property-detail-v3 .header-property-detail {
  padding: 0;
  margin-bottom: 40px;
}

.flat-property-detail-v3 .header-property-detail .content-top {
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.thumbs-sw-pagi {
  margin-top: 16px;
}

.thumbs-sw-pagi .swiper-slide {
  width: auto;
  cursor: pointer;
  opacity: 0.55;
  transition: opacity 0.2s ease;
}

.thumbs-sw-pagi .swiper-slide-thumb-active {
  opacity: 1;
}

.thumbs-sw-pagi .img-thumb-pagi {
  border-radius: 8px;
  max-height: 108px;
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
}

.thumbs-sw-pagi .swiper-slide-thumb-active .img-thumb-pagi {
  border-color: var(--uc-primary-color);
}

.thumbs-sw-pagi .img-thumb-pagi img {
  display: block;
  height: 88px;
  width: auto;
  object-fit: cover;
}

.single-property-gallery .image-sw-single {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 680px;
  border-radius: 16px;
  overflow: hidden;
}

.single-property-gallery .image-sw-single img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.single-property-gallery .image-sw-single a.property-gallery-item {
  display: block;
  position: absolute;
  inset: 0;
  cursor: zoom-in;
  z-index: 2;
}

.single-property-gallery .image-sw-single a.property-gallery-item:focus-visible {
  outline: 2px solid var(--uc-primary-color);
  outline-offset: 2px;
}

.single-property-gallery .box-navigation .navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 123;
}

.single-property-gallery .box-navigation .navigation.swiper-nav-next {
  left: 30px;
}

.single-property-gallery .box-navigation .navigation.swiper-nav-prev {
  right: 30px;
}

.flat-property-detail-v4 .header-property-detail {
  padding: 0px;
  margin-bottom: 60px;
}

.flat-property-detail-v4 .single-property-gallery {
  margin-bottom: 60px;
}

.flat-property-detail-v4 .single-property-video {
  padding-right: 0;
}

.flat-property-detail-v4 .single-property-map .map-single {
  height: 552px;
}

.flat-property-detail-v4 .single-property-feature .wrap-feature {
  justify-content: space-between;
}

.flat-section .tf-faq:not(:last-child) {
  margin-bottom: 50px;
}

.box-pricing .tf-btn {
  width: 100%;
}

.box-pricing.active .tf-btn, .box-pricing:hover .tf-btn {
  background-color: #ffffff;
  color: #161e2d;
  border-color: #ffffff;
}

.box-pricing.active .tf-btn .icon, .box-pricing:hover .tf-btn .icon {
  color: #161e2d;
}

.flat-banner-about .btn-view {
  margin-top: 10px;
}

.flat-section .wrap-partner {
  margin-top: 40px;
}

.flat-contact .contact-content .form-contact .tf-btn {
  margin-top: 8px;
  width: 100%;
}

.flat-account .form-account .box-fieldset:not(:last-child) {
  margin-bottom: 30px;
}

.flat-account .form-account .box-fieldset label {
  margin-bottom: 10px;
}

.flat-account .form-account .box-fieldset .text-forgot {
  margin-top: 18px;
}

.flat-header-wrapper-about .tf-btn {
  max-width: 350px;
  width: 100%;
}

.sidebar-privacy .contact-box .tf-btn {
  width: 100%;
  margin: 24px 0px;
}

.trcim-loan-result {
    font-weight: bold !important;
    font-family: 'Albert Sans';
    font-size: 28px;
    color: #000 !important;
}

.sidebar-menu-dashboard .user-box .user .icon-box {
  background-color: rgba(255, 255, 255, 0.4);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.widget-box-2 {
  padding: 30px;
  border-radius: 16px;
  background-color: #ffffff;
  box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.0392156863);
}

.widget-box-2 .title {
  margin-bottom: 20px;
}

.layout-wrap .wd-listing .wd-filter input,
.layout-wrap .wd-listing .wd-filter .nice-select {
  padding: 8px 18px;
  color: #a3abb0;
}

.layout-wrap .wd-listing .wd-filter input:focus,
.layout-wrap .wd-listing .wd-filter .nice-select:focus {
  border-color: #e4e4e4;
}

.layout-wrap .wd-listing .wd-filter .nice-select::after {
  border-color: #a3abb0;
}

.box-fieldset label {
  margin-bottom: 8px;
}

.box-fieldset .nice-select {
  padding: 15px 18px;
}

.box-fieldset .box-ip {
  position: relative;
}

.box-fieldset .box-ip .btn-location {
  position: absolute;
  right: 18px;
  top: 50%;
  transform: translateY(-50%);
}

.box-fieldset .box-ip .btn-location .icon {
  font-size: 20px;
}

.box-fieldset .map {
  margin-top: 20px;
  height: 456px;
  border-radius: 16px;
  overflow: hidden;
}

.box-fieldset .textarea {
  height: 130px;
}

.widget-box-2 .title span {
  color: var(--uc-primary-color);
}

.widget-box-2 .box:not(:last-child) {
  margin-bottom: 30px;
}

.widget-box-2 .box-price-property .box-cb {
  margin-top: 16px;
}

.widget-box-2 .fieldset-radio {
  display: flex;
  align-items: center;
  gap: 8px;
}

.widget-box-2 .fieldset-radio input {
  border-radius: 50%;
}

.widget-box-2 .fieldset-radio:not(:last-child) {
  margin-bottom: 10px;
}

.widget-box-2 .fieldset-radio label {
  font-weight: 400;
}

.widget-box-2 .box-radio-check:not(:last-child) {
  margin-bottom: 20px;
}

.widget-box-2 .btn-add-floor {
  margin-top: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  border: 1px solid var(--uc-primary-color);
  color: var(--uc-primary-color);
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: auto;
  margin-right: auto;
}

.widget-box-2 .btn-add-floor:hover {
  background-color: var(--uc-primary-color);
  color: #ffffff;
}

.box-amenities-property .amenities-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.box-amenities-property .amenities-item input {
  flex-shrink: 0;
}

.box-amenities-property .amenities-item .text-cb-amenities {
  font-weight: 400;
}

.wrap-dashboard-content .widget-box-2 {
  margin-top: 30px;
}

.box-info-property .box-fieldset .map {
  width: 100%;
}

@media only screen and (min-width: 576px) {
.trcim-box.list-style-2 .archive-top {
    width: 40%;
  }
.trcim-box.list-style-2 .archive-bottom {
    width: 60%;
  }
}

@media only screen and (min-width: 992px) {
.widget-sidebar .widget-box:not(:last-child) {
    margin-bottom: 40px;
  }
.flat-testimonial-v2 .archive-bottom {
    margin-top: 50px;
  }
.flat-property-detail-v4 .single-property-video .btn-video {
    width: 80px;
    height: 80px;
  }
.flat-property-detail-v4 .single-property-video .btn-video .icon {
    font-size: 42px;
  }
.flat-property-detail-v4 .single-property-feature .wrap-feature {
    padding-right: 100px;
  }
.box-benefit .icon-box .icon {
    font-size: 60px;
  }
.box-title-listing {
    margin-bottom: 50px;
  }
}

@media only screen and (min-width: 1200px) {
.single-property-element {
    padding-right: 30px;
  }
.flat-property-detail-v2 .single-property-element {
    margin-right: 30px;
  }
.box-service:hover .tf-btn {
    padding-left: 65px;
    padding-right: 65px;
  }
.wd-find-select {
    border-radius: 999px;
  }
.wd-find-select .filter-advanced {
    padding: 11px 40px;
  }
.map-listing-item .inner-box {
    min-width: 560px;
    gap: 30px;
    padding-right: 16px;
  }
.map-listing-item .inner-box .image-box {
    width: 200px;
    height: 200px;
  }
.map-listing-item .inner-box .box-bottom {
    margin-top: 16px;
    padding-top: 16px;
  }
#map .infoBox {
    margin-left: 170px;
    margin-bottom: -170px;
  }
.flat-testimonial-v2 .archive-bottom {
    margin-top: 70px;
  }
.trcim-box.list-style-2 .archive-top {
    width: 44%;
  }
.trcim-box.list-style-2 .archive-bottom {
    width: 56%;
  }
}

@media only screen and (min-width: 1441px) {
.wrapper-layout .wrap-left {
    padding-top: 0;
    padding-left: 30px;
    padding-right: 30px;
  }
}

@media only screen and (min-width: 1520px) {
.wrapper-layout .wrap-left {
    padding-left: 100px;
    padding-right: 50px;
  }
.wrapper-layout.layout-2 .wrap-left {
    padding-left: 100px;
  }
.flat-filter-search-v2 .flat-tab-form {
    padding: 30px 100px;
  }
}

@media only screen and (max-width: 1519px) {
.wrapper-layout-3 {
    flex-wrap: wrap;
  }
.wrapper-layout-3 .wrap-map {
    position: relative;
    height: 600px;
    width: 100%;
    margin-top: 30px;
  }
.wrapper-layout-3 .wrap-inner {
    width: 70%;
  }
.wrapper-layout-3 .wrap-sidebar {
    width: 30%;
    padding-bottom: 0px;
  }
.wrapper-layout-3 .wrap-sidebar .widget-filter-search .form-btn-fixed {
    margin-top: 12px;
    padding: 0;
    background-color: transparent;
    position: unset;
    width: 100%;
  }
}

@media only screen and (max-width: 1440px) {
.wrapper-layout {
    flex-direction: column;
  }
.wrapper-layout .wrap-right {
    position: relative;
    width: 100% !important;
    height: 600px !important;
  }
.wrapper-layout .wrap-left {
    height: auto !important;
    width: 100% !important;
  }
.flat-property-detail .header-property-detail {
    margin-left: 0;
    margin-right: 0;
  }
.flat-property-detail-v2 .wrapper-sidebar-right {
    padding-left: 0px;
  }
.single-property-contact .box-avatar {
    flex-wrap: wrap;
  }
}

@media only screen and (max-width: 1350px) {
.wrap-service-v2 .box-left {
    padding-right: 0px;
  }
.wrap-service-v2 .box-left .list-view li:last-child, .wrap-service-v2 .box-left .list-view li:nth-child(2) {
    padding-left: 0px;
  }
}

@media only screen and (max-width: 1300px) {
.flat-filter-search-v2 .flat-tab-form {
    flex-direction: column;
    gap: 20px;
  }
}

@media only screen and (max-width: 1199px) {
.flat-slider.home-5 .thumbs-swiper-column1 {
    right: 15px;
  }
.flat-slider.home-5 .thumbs-swiper-column .box-img {
    height: 700px;
  }
.flat-slider.home-5 .thumbs-swiper-column .box-img img {
    object-fit: cover;
    height: 100%;
  }
.header-account .tf-btn {
    min-width: 150px;
  }
.wrap-property .box-left {
    flex-grow: 1;
  }
.wrap-service-v2 .box-left {
    padding-right: 0px;
  }
.wrap-service-v2 .box-left .list-view {
    display: flex;
    flex-wrap: wrap;
    row-gap: 12px;
  }
.wrap-service-v2 .box-left .list-view li {
    width: 100%;
  }
.trcim-box.style-3 .images-group .images-style {
    height: 100%;
  }
.wrap-banner .box-left {
    padding: 0;
    padding-left: 60px;
  }
.wrap-dashboard-content .box-fieldset {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 1099px) {
.wd-find-select {
    flex-direction: column;
    gap: 16px;
    padding: 20px;
  }
.wd-find-select .inner-group {
    flex-wrap: wrap;
    padding: 0;
  }
.wd-find-select .inner-group .form-style {
    border-right: 0 !important;
  }
.wd-find-select .inner-group .form-style label {
    margin-bottom: 8px;
  }
.wd-find-select .inner-group .form-style .form-control,
  .wd-find-select .inner-group .form-style .nice-select {
    padding: 10px 16px;
    border: 1px solid #e4e4e4;
    border-radius: 99px;
    font-weight: 400;
  }
.wd-find-select .inner-group .box-filter .filter-advanced {
    flex-direction: row;
    gap: 4px;
  }
.wd-find-select .inner-group .box-filter .text-1 {
    font-size: 16px;
    line-height: 26px;
  }
.wd-find-select .tf-btn {
    min-width: 100px;
    border-radius: 99px;
  }
.wrapper-layout-3 .wrap-sidebar,
  .wrapper-layout-3 .wrap-inner {
    width: 100%;
    height: auto;
    padding: 15px;
    padding-top: 0;
  }
.wrapper-layout-3 .wrap-map {
    margin-top: 0;
  }
}

@media only screen and (max-width: 991px) {
.box-service .tf-btn {
    padding: 15px;
  }
.flat-recommended .tf-btn {
    margin-top: 0;
  }
.flat-slider.home-3 .flat-tab-form {
    margin-top: 30px;
  }
.single-property-gallery .box-navigation .navigation.swiper-nav-next {
    left: 15px;
  }
.single-property-gallery .box-navigation .navigation.swiper-nav-prev {
    right: 15px;
  }
.flat-map .top-map {
    height: 500px;
  }
.flat-section {
    padding: 60px 0px 60px;
  }
.flat-section-v2 {
    padding: 100px 0px 60px;
  }
.flat-section-v3 {
    padding: 50px 0px 60px;
  }
.flat-section-v4 {
    padding-top: 30px;
    padding-bottom: 30px;
  }
.flat-slider.home-5 .thumbs-swiper-column1 {
    display: none;
  }
.wd-search-form .group-checkbox .group-amenities {
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
  }
.wrap-service-v2 .box-left .list-view li {
    width: 50%;
  }
.wrap-banner .box-left {
    padding: 60px;
  }
.offcanvas.canvas-filter .wd-find-select {
    padding: 0px;
    gap: 0;
  }
.offcanvas.canvas-filter .wd-find-select .inner-group {
    padding: 20px;
    border-radius: 0px;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
  }
.offcanvas.canvas-filter .wd-find-select .tf-btn {
    border-radius: 0px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
  }
.wrapper-layout .wrap-left {
    padding: 24px 15px !important;
  }
.flat-filter-search-v2 .flat-tab-form {
    padding: 20px 15px;
  }
.flat-filter-search-v2 .flat-tab-form .wd-find-select {
    padding: 0;
  }
.flat-filter-search-v2 .flat-tab-form .wd-search-form {
    top: 100%;
    margin-top: 26px;
  }
.wrapper-layout-3 .wrap-sidebar .widget-filter-search {
    padding: 30px 15px;
  }
.wrapper-layout-3 .wrap-inner {
    padding: 15px;
  }
.widget-sidebar {
    margin-bottom: 30px;
  }
.single-property-video .img-video {
    border-radius: 15px;
  }
.single-property-video .img-video .btn-video {
    width: 40px;
    height: 40px;
  }
.single-property-explore .box-img {
    border-radius: 15px;
  }
.single-property-explore .box-img .box-icon .icon {
    font-size: 40px;
  }
.single-property-map .map {
    border-radius: 15px;
  }
.single-property-feature .wrap-feature {
    gap: 30px;
  }
.header-property-detail .content-bottom .box-left {
    gap: 20px;
  }
.widget-box-single {
    padding: 15px;
  }
.widget-box-header-single .header-property-detail .content-top,
  .widget-box-header-single .header-property-detail .content-bottom {
    padding-left: 15px;
    padding-right: 15px;
  }
.widget-box-header-single .single-property-overview,
  .widget-box-header-single .single-property-desc {
    padding-left: 15px;
    padding-right: 15px;
  }
.single-property-nearby .grid-3 {
    grid-template-columns: 1fr 1fr;
    gap: 8px;
  }
.single-property-gallery .box-navigation .navigation {
    width: 40px;
    height: 40px;
  }
.single-property-gallery .box-navigation .navigation .icon {
    font-size: 18px;
  }
.flat-property-detail-v4 .single-property-contact .grid-3 {
    grid-template-columns: 1fr;
  }
.widget-box-3,
  .widget-box-2 {
    padding: 15px;
  }
.widget-box-3.mess-box {
    margin-top: 30px;
  }
.single-property-overview .info-box {
    gap: 20px;
  }
.single-sidebar .widget-box {
    padding: 15px;
  }
.flat-property-detail-v2 .single-property-element {
    border-radius: 16px;
    padding: 15px;
  }
.flat-property-detail-v2 .single-sidebar .box-latest-property {
    padding: 15px;
  }
.single-property-floor .floor-item {
    padding: 0 15px;
  }
.single-property-loan .box-loan-calc .box-top {
    padding: 15px;
    gap: 15px;
  }
.single-property-loan .box-loan-calc .box-bottom {
    padding: 15px;
  }
.flat-account .form-account .box-fieldset:not(:last-child) {
    margin-bottom: 20px;
  }
.flat-account .form-account .box-fieldset label {
    margin-bottom: 8px;
  }
.flat-account .form-account .box-fieldset .text-forgot {
    margin-top: 10px;
  }
.wd-find-select .box-btn-advanced {
    flex-wrap: wrap;
  }
.single-sidebar {
    margin-top: 40px;
  }
.single-sidebar .widget-box:not(:last-child) {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 767px) {
.latest-property-item {
    gap: 10px;
  }
.latest-property-item .meta-list {
    gap: 8px;
  }
.flat-tab-form .nav-tab-form .nav-link-item {
    padding: 14px 30px;
  }
.single-property-map .info-map {
    grid-template-columns: 1fr;
  }
.tf-btn {
    min-width: 100px;
    min-height: 44px;
  }
.wd-search-form .group-checkbox .group-amenities {
    grid-template-columns: repeat(2, 1fr);
  }
.widget-box-2 .grid-2,
  .widget-box-2 .grid-3 {
    grid-template-columns: 1fr;
  }
.wrap-dashboard-content .col-md-3 .box-fieldset {
    margin-bottom: 30px;
  }
}

@media only screen and (max-width: 700px) {
.single-property-info .inner-box .label {
    width: 40%;
  }
}

@media only screen and (max-width: 575px) {
.header-account .tf-btn {
    display: none;
  }
.flat-slider.home-5 .info-box {
    right: 15px;
    left: 15px;
  }
.trcim-box.list-style-1 {
    display: block;
  }
.trcim-box.lg .archive-top h5 {
    font-size: 24px;
    line-height: 30px;
  }
.trcim-box.lg .archive-top .content {
    padding-left: 20px;
    padding-right: 20px;
  }
.trcim-box.lg .archive-top .content .note {
    font-size: 16px;
    line-height: 26px;
  }
.trcim-box.lg .archive-top .content .desc p {
    font-size: 16px;
    line-height: 26px;
  }
.trcim-box.lg .archive-top .content .meta-list {
    column-gap: 20px;
  }
.wrap-service-v2 .box-left .list-view li {
    width: 100%;
  }
.wrap-banner .box-left {
    padding: 30px;
  }
.box-title-listing .box-filter-tab .nav-tab-filter {
    width: 100%;
  }
.widget-sidebar .widget-box {
    padding: 15px;
  }
.widget-sidebar .widget-box .latest-property-item {
    gap: 10px;
  }
.widget-sidebar .widget-box .latest-property-item .images-style {
    flex-shrink: 0;
  }
.widget-sidebar .widget-box .latest-property-item .h7 {
    font-size: 18px;
  }
.widget-sidebar .widget-box .latest-property-item .meta-list {
    gap: 8px;
  }
.header-property-detail .content-bottom .info-box .meta {
    gap: 15px;
  }
.single-property-nearby .box-nearby {
    gap: 8px;
    grid-template-columns: 1fr;
  }
.single-property-nearby .box-nearby .label {
    width: auto;
    margin-right: 20px;
  }
.single-property-loan .box-loan-calc .box-top {
    grid-template-columns: 1fr;
  }
.single-property-loan .box-loan-calc .box-bottom {
    flex-wrap: wrap;
    gap: 15px;
  }
.single-property-map .info-map {
    justify-content: space-between;
    gap: 20px;
  }
.trcim-box.list-style-1 .archive-top {
    width: 100%;
  }
}

@media only screen and (max-width: 500px) {
.box-amenities-property,
  .single-property-feature .wrap-feature {
    display: grid;
  }
}

.rtl .mobile-menu .mobi-icon-box .icon {
  margin-right: 0;
  margin-left: 10px;
}

.rtl .wd-find-select .inner-group .group-ip .icon {
  right: auto;
  left: 20px;
}

.rtl .wd-find-select .inner-group .form-style .nice-select::after {
  right: auto;
  left: 20px;
}

.rtl .flat-blog-item,
.rtl .box-agent,
.rtl .box-tes-item,
.rtl .trcim-box,
.rtl .tf-btn {
  direction: rtl;
}

.rtl .nice-select::after {
  right: auto;
  left: 18px;
}

.rtl .nice-select .option {
  padding-left: 29px;
  padding-right: 18px;
}

.rtl .wd-find-select.style-2 {
  border-radius: 16px;
  border-top-right-radius: 0;
}

.rtl .wd-filter-select {
  border-radius: 10px;
  border-top-right-radius: 0px;
}

.rtl .map-listing-item .infoBox-close {
  left: 8px;
  right: auto;
}

.rtl .wrapper-layout .wrap-right {
  left: 0;
  right: auto;
}

.rtl .wrapper-layout-3 .wrap-map {
  right: auto;
  left: 0;
}

.rtl .wrapper-layout-3 .wrap-sidebar {
  padding-left: 0;
  padding-right: 20px;
}

.rtl .single-property-floor .floor-item .floor-header .inner-left .icon {
  margin-right: 0;
  margin-left: 16px;
}

.rtl .single-property-feature .wrap-feature .box-feature ul {
  padding-left: 0;
  padding-right: 15px;
}

.rtl .box-fieldset .box-ip .btn-location {
  left: 18px;
  right: auto;
}

@media only screen and (min-width: 1100px) {
.rtl .wd-find-select {
    padding-left: 20px;
    padding-right: 40px;
  }
.rtl .wd-find-select .inner-group {
    padding-right: 0;
    padding-left: 20px;
  }
.rtl .wd-find-select .inner-group .form-style:not(:last-child) {
    border-right: 0;
    border-left: 1px solid #e4e4e4;
  }
.rtl .wd-find-select .inner-group .form-style .form-control {
    padding-right: 0;
    padding-left: 45px;
  }
.rtl .flat-filter-search-v2 .flat-tab-form .form-style .form-control,
  .rtl .flat-filter-search-v2 .flat-tab-form .form-style .nice-select {
    padding-left: 48px;
    padding-right: 18px;
  }
}

@media only screen and (min-width: 1520px) {
.rtl .wrapper-layout .wrap-left {
    padding-left: 50px;
    padding-right: 100px;
  }
}

section.flat-call-action.flat-section {
  margin-top: 60px !important;
  padding: 48px 0 !important;
  background: var(--uc-primary-color) !important;
  background-image: linear-gradient(135deg, var(--uc-primary-color) 0%, #065a2a 100%) !important;
}

section.flat-call-action .call-action-btn.tf-btn {
  flex-shrink: 0;
  background: #ffffff !important;
  border: 1px solid #ffffff !important;
  color: var(--uc-primary-color) !important;
}

section.flat-call-action .call-action-btn.tf-btn:hover {
  background: #eef6f1 !important;
  border-color: #eef6f1 !important;
  color: #065a2a !important;
}

.nice-select .option:hover,
.nice-select .option.focus,
.nice-select .option.selected.focus {
    background-color: var(--uc-primary-color);
    color: #000;
}

.trcim-share-wrap { position: relative; }

.trcim-share-menu {
    position: absolute;
    top: calc(100% + 8px);
    font-family: "Albert Sans", sans-serif;
    right: 0;
    min-width: 160px;
    background: #fff;
    border: 1px solid #e4e4e4;
    border-radius: 10px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    padding: 6px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

@media (max-width: 767px) {
.trcim-share-menu {
        z-index: 9999;
        right: auto;
        left: 0;
    }
}

.trcim-share-menu[hidden] { display: none; }

.trcim-share-menu a,
.trcim-share-menu button {
    font-family: "Albert Sans", sans-serif;
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    color: #5c6368;
    font: inherit;
    font-size: 15px;
    line-height: 1.2;
    padding: 10px 12px;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
}

.trcim-share-menu a:hover,
.trcim-share-menu button:hover {
    font-family: "Albert Sans", sans-serif;
    background: #f3f5f6;
    color: var(--uc-primary-color);
}

.group-amenities.amenities-sidebar .amenities-item {
    margin: 0 0 8px !important;
}

#annunci-tab-content.view-grid .js-annunci-list {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}

#annunci-tab-content.view-grid .trcim-box {
    border: 1px solid #EEE !important;
    /* gap 14px tra le due: (100% - 14px) / 2 */
    width: calc((100% - 14px) / 2);
    flex-direction: column;
    flex-wrap: nowrap;
    padding: 0;
    margin: 0;
}

#annunci-tab-content.view-grid .archive-top,
#annunci-tab-content.view-grid .archive-bottom {
    width: 100%;
    margin: 0;
}

#annunci-tab-content.view-grid .archive-top {
    padding: 8px;
}

#annunci-tab-content.view-grid .archive-bottom .content-top {
    display: none;
}

#annunci-tab-content.view-grid .archive-bottom {
    padding: 8px 20px;
    border: none;
}

#annunci-tab-content.view-grid .trcim-box .archive-top .images-style {
    border-radius: 14px;
    max-height: 208px;
    overflow: hidden;
    height: 100%;
    width: 100%;
}

#annunci-tab-content.view-grid .trcim-box .archive-top .images-style img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.wrapper-layout-3 .box-title-listing {
    padding-bottom: 10px;
    margin-bottom: 20px;
    background: white;
    position: sticky;
    z-index: 999;
    top: 0;
}

.tab-button-section .nav-link-item.active {
    display: flex !important;
    align-items: center;
    font-weight: 600;
    font-size: 22px;
    color: #4F4E4D;
    gap: 8px;
}

.tab-button-section .nav-link-item.active i {
    background: var(--uc-primary-color);
    height: 30px;
    display: flex;
    width: 30px;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    flex-wrap: nowrap;
    color: #000000;
    border-radius: 50px;
    font-size: 16px;
}

.widget-box.single-property-contact .info .name {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1;
}

.widget-box.single-property-contact .info ul.list li {
    margin: 0;
}

.trcim-box.home-card .archive-top .images-style {
    height: 268px !important;
    overflow: hidden;
    width: 100%;
}

.trcim-box.home-card .archive-top .images-style img {
    object-fit: cover;
    height: 100%;
    width: 100%;
}

.trcim-box.home-card .archive-bottom {
    border: none;
    margin: 0;
}

.wrap-map {
    /* border-radius: 30px; */
    position: relative;
    overflow: hidden;
}

/* Pin mappa HTML: hover alza l'icona (senza cambiare PNG) */
.annunci-map-pin {
    position: absolute;
    z-index: 1;
    padding: 0;
    margin: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
    transform: translate(-50%, -100%);
    line-height: 0;
}

.annunci-map-pin:hover,
.annunci-map-pin:focus-visible {
    transform: translate(-50%, calc(-100% - 8px));
    outline: none;
}

.annunci-map-pin img {
    display: block;
    width: 68px;
    height: auto;
    pointer-events: none;
    user-select: none;
    transition: filter 0.18s ease;
}

.annunci-map-pin:hover img,
.annunci-map-pin:focus-visible img {
    /* Viraggio giallo via filter (non è un recolor 1:1 su var(--uc-primary-color)) */
    filter: sepia(1) saturate(6) hue-rotate(5deg) brightness(1.05);
}

.annunci-map-pin__dot {
    display: block;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--uc-primary-color);
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.wrap-map.is-map-pending #map,
.wrap-map.is-map-pending #map-property {
    visibility: hidden;
    pointer-events: none;
}

.wrap-map.is-map-loading #map,
.wrap-map.is-map-ready #map,
.wrap-map.is-map-loading #map-property,
.wrap-map.is-map-ready #map-property {
    visibility: visible;
    pointer-events: auto;
}

.map-placeholder {
    background-image: url('../images/bg-maps.jpg');
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 24px;
    text-align: center;
}

.map-placeholder p,
.map-placeholder button {
    position: relative;
    z-index: 2;
}

.map-placeholder:after {
    background: rgba(14, 14, 14, .68);
    position: absolute;
    content: '';
    height: 100%;
    width: 100%;
    opacity: .8;
    z-index: 1;
    right: 0;
    top: 0;
}

.wrap-map.is-map-ready .map-placeholder,
.wrap-map.is-map-loading .map-placeholder {
    display: none;
}

.map-placeholder__hint {
    margin: 0;
    font-size: 13px;
    color: var(--uc-primary-color);
}

.map-placeholder .tf-btn .icon {
    margin-right: 6px;
}

.wrap-map.is-map-loading::after {
    content: "Caricamento mappa…";
    position: absolute;
    inset: 0;
    z-index: 6;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(238, 246, 241, 0.92);
    color: var(--uc-primary-color);
    font-weight: 600;
    font-size: 15px;
}

#map .infoBox {
    margin: 0 !important;
    padding: 0 !important;
    transform: translate(-50%, calc(-100% - 48px)) !important;
}

#map .infoBox > img {
    position: absolute;
    right: 8px;
    top: 8px;
    z-index: 9;
    cursor: pointer;
    background: rgba(255,255,255,.9);
    border-radius: 4px;
    padding: 2px;
}

#map .infoBox-annuncio {
    display: block;
    position: relative;
    width: 100%;
    height: 160px;
    overflow: hidden;
    border-radius: 10px;
    text-decoration: none;
    background-color: #eee;
    background-size: cover;
    background-position: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.18);
}

#map .infoBox-annuncio::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 40%, rgba(0,0,0,.75) 100%);
    opacity: .85;
}

#map .infoBox-annuncio .titolo {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2;
    margin: 0;
    padding: 12px;
    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

#map .infoBox-annuncio .prezzo {
    display: block;
    margin-top: 4px;
    font-size: 13px;
    font-weight: 500;
    opacity: .95;
}

@media (max-width: 575px) {
.trcim-box.home-card .archive-top .images-style {
        height: 188px !important;
        overflow: hidden;
        width: 100%;
    }
.single-sidebar.fixed-sidebar,
    .sidebar-blog.fixed-sidebar {
        margin-top: 14px;
    }
.trcim-box .archive-bottom {
        border-top-right-radius: 0;
        border-top-left-radius: 0;
        margin-left: 0;
    }
.wrapper-layout-3 .trcim-box .images-style {
        border-bottom-right-radius: 0;
        border-bottom-left-radius: 0;
    }
.flat-tab-form .nav-tab-form {
        margin-bottom: 48px;
    }
.single-property-loan .box-loan-calc .box-bottom {
        display: none;
    }
}
/* --- Tercasa compatibility tweaks --- */
body.annunci-listing-page .wrapper-layout-3 {
  min-height: calc(100vh - 90px);
}

body.annunci-listing-page .wrapper-layout-3 .wrap-sidebar,
body.annunci-listing-page .wrapper-layout-3 .wrap-inner {
  /* background: var(--uc-secondary-color, #14110b);
  color: var(--uc-default-color, #f0ece4); */
}

body.annunci-scheda-page .flat-section-v3,
body.annunci-scheda-page .flat-section-v4 {
  color: var(--uc-default-color, #f0ece4);
}

body.annunci-scheda-page .single-sidebar .widget-box,
body.annunci-listing-page .widget-filter-search {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(212, 175, 55, 0.12);
}

.trcim-box .images-style img {
  object-fit: cover;
}

/* noUiSlider (range prezzo / mq) */
.noUi-target,
.noUi-target * {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -ms-touch-action: none;
  touch-action: none;
  -ms-user-select: none;
  -moz-user-select: none;
  user-select: none;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  cursor: pointer;
}

.noUi-target {
  position: relative;
  direction: ltr;
}

.noUi-base {
  width: 100%;
  height: 100%;
  position: relative;
  z-index: 1;
  background: #e6f2ea;
}

.noUi-origin {
  position: absolute;
  right: 0;
  top: 0;
  left: 0;
  bottom: 0;
}

.noUi-handle {
  position: relative;
  z-index: 1;
}

.noUi-stacking .noUi-handle {
  z-index: 10;
}

.noUi-state-tap .noUi-origin {
  -webkit-transition: left 0.3s, top 0.3s;
  transition: left 0.3s, top 0.3s;
}

.noUi-state-drag * {
  cursor: inherit !important;
}

.noUi-base,
.noUi-handle {
  -webkit-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.noUi-horizontal {
  height: 4px;
}

.noUi-horizontal .noUi-handle {
  position: relative;
  width: 18px;
  height: 18px;
  border-radius: 6px;
  left: 0px;
  top: 50%;
  transform: translateY(-50%);
  background-color: var(--uc-primary-color);
  border: 2px solid #FFF;
  cursor: pointer;
}

.caption {
  margin-bottom: 10px;
}

/* Styling; */
.noUi-background {
  background: #000;
}

.noUi-connect {
  background: var(--uc-primary-color);
  -webkit-transition: background 450ms;
  transition: background 450ms;
}

.noUi-origin {
  border-radius: 0px;
}

.noUi-target {
  width: 100%;
  padding-right: 15px;
}

/* Handles and cursors;
 */
.noUi-draggable {
  cursor: w-resize;
}

.noUi-vertical .noUi-draggable {
  cursor: n-resize;
}

.noUi-handle {
  cursor: default;
  -webkit-box-sizing: border-box !important;
  -moz-box-sizing: border-box !important;
  box-sizing: border-box !important;
}

/* Disabled state; */
[disabled].noUi-connect,
[disabled] .noUi-connect {
  background: #b8b8b8;
}

[disabled].noUi-origin,
[disabled] .noUi-handle {
  cursor: not-allowed;
}

/* Checkbox filtri accessori/dettagli */
.tf-checkbox {
  position: relative;
  border: 1px solid #e4e4e4;
  background: none;
  cursor: pointer;
  outline: 0;
  width: 12px;
  height: 12px;
  border-radius: 6px;
  -webkit-appearance: none;
  display: flex;
  align-items: center;
  justify-content: center;
}
.tf-checkbox::before {
  content: "\e945";
  position: absolute;
  font-family: "icomoon";
  font-size: 10px;
  line-height: 12px;
  color: #FFF;
}
.tf-checkbox.style-1 {
  width: 20px;
  height: 20px;
  border-color: #e4e4e4;
}
.tf-checkbox.primary {
  border-color: #a3abb0;
}
.tf-checkbox.primary:checked {
  border-color: var(--uc-primary-color);
  background-color: var(--uc-primary-color);
}
.tf-checkbox.primary:checked:before {
    color: #000;
}
.tf-checkbox.style-2 {
  border-color: #5c6368;
}
.tf-checkbox:checked {
  border-color: var(--uc-primary-color);
  background-color: var(--uc-primary-color);
}
.tf-checkbox:checked::before {
    color: #000;
}
@media only screen and (max-width: 767px) {
    .header-property-detail .content-top {
        padding-bottom: 1rem !important;
        margin-bottom: 1rem !important;
        gap: 0 !important;
    }
    .header-property-detail .title {
        font-weight: 300;
    }
    .header-property-detail .box-price h3 {
        font-weight: 800;
    }
    .single-property-element:not(:last-child) {
        padding: 1rem .6rem;
        margin-bottom: 0;
    }
    .flat-section-v3 {
        padding: 1rem 0 2rem;
    }
}