#compare-container {
  background-color: rgba(0, 0, 0, 0.7);
  bottom: 0;
  height: 150px;
  left: 0;
  position: fixed;
  transition: .3s ease;
  display: flex;
  align-items: center;
  gap: 15px;
  transition: transform 0.3s ease;
  width: 100%;
  z-index: 9999;
  user-select: none;
}

#compare-minimize {
  color: #f2f2f2;
  position: absolute;
  top: -25px;
  left: 50%;
  transform: translateX(-50%);
  cursor: pointer;
  width: 150px;
  height: 0;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 25px solid rgba(0, 0, 0, 0.7);
  text-align: center;
  white-space: nowrap;
}

#compare-minimize i {
  transition: transform 0.3s ease;
}

#compare-container .compare-buttons {
  display: inline-flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  text-align: center;
}

#compare-container .compare-icon {
  position: relative;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  border-radius: 100%;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, .12);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #000;
  cursor: pointer;
  text-align: center;
}
#compare-container .compare-icon:hover {
  background: #efedfb;
  
}

#compare-container .compare-icon.compare-left-icon {
  left: 10px;
}

#compare-container .compare-icon.compare-right-icon {
  right: 10px;
}

#compare-container .compare-icon i {
  position: relative;
  width: 25px;
}

#compare-container #compare-items {
  display: flex;
  gap: 15px;
  height: auto;
  list-style: none;
  margin: 8px 5px;
  overflow-x: hidden;
  padding: 0px 20px;
  width: 100%;
}

#compare-items.dragging {
  cursor: grab;
  scroll-behavior: auto;
}

#compare-items .tab {
  background: #fff;
  height: 110px;
  min-width: 300px;
  padding: 10px;
  position: relative;
  border-radius: 5px;
  cursor: pointer;
  transition: .3s ease;
}

.compare-content {
  align-items: center;
  display: flex;
  position: relative;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.compare-item img {
  max-width: 100px;
  margin-right: 10px;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.compare-details {
  flex: 1;
  font-weight: 700;
  font-size: 14px;
}
.compare-details a {
  color: #000;
}

.compare-address,
.compare-price {
  margin: 0;
  color: #000;
  font-weight: bold;
}

.compare-address {
  margin-bottom: 10px;
}

.close-icon::after {
  content: "\00D7";
  position: absolute;
  top: -16px;
  right: -16px;
  width: 20px;
  height: 20px;
  background-color: red;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.compare-item:hover .close-icon::after {
  opacity: 1;
}

#propertyContainer {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 150px;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  overflow: hidden;
}

.compare-item {
  width: 250px;
  margin: 8px 5px;
  height: auto;
  box-sizing: border-box;
  border-color: #949494;
  min-height: 98px;
  position: relative;
}

.compare-expanded {
  transform: translateY(0);
}

.compare-collapsed {
  transform: translateY(120%);
}

.table-compare-listings th:first-child {
  font-size: 14px;
  font-weight: bold;
  min-width: 150px;
  vertical-align: text-top;
}

.table-compare-listings td {
  font-size: 14px;
  max-width: 300px;
  text-wrap: initial;
  vertical-align: text-top;
  word-wrap: break-word;
}

.table-compare-listings .compare-category {
  background-color: var(--brand-color-primary);
  font-size: 16px;
  font-weight: bold;
  color: #fff;
}

.table-compare-listings .column-hover {
  background-color: #efedfb;
}

.table-compare-listings .compare-image {
  min-width: 300px;
  position: relative;
}
.table-compare-listings .compare-image img {
  width: 100% !important;
  height: 200px;
  object-fit: cover;
  object-position: center;
}
.table-compare-listings .fav-block {
    bottom: 5px;
    right: 5px;
}
  

.table-compare-listings .compare-image .compare-remove {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 20px;
  height: 20px;
  background-color: red;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  cursor: pointer;
  text-decoration: none;
}
.table-compare-listings.table-bordered {
  border-color: var(--background-variant-grey);
}
.table-compare-listings.table-bordered>tbody>tr>td, .table-compare-listings.table-bordered>tbody>tr>th, .table-compare-listings.table-bordered>tfoot>tr>td, .table-compare-listings.table-bordered>tfoot>tr>th, .table-compare-listings.table-bordered>thead>tr>td, .table-compare-listings.table-bordered>thead>tr>th {
  border: 0;
}

.sticky-hscroll,
.sticky-hscroll-scrollbar {
  scrollbar-width: auto;
  scrollbar-color: #80C41C #ffffff;
}

.sticky-hscroll::-webkit-scrollbar,
.sticky-hscroll-scrollbar::-webkit-scrollbar {
  width: 14px;
}

.sticky-hscroll::-webkit-scrollbar-track,
.sticky-hscroll-scrollbar::-webkit-scrollbar-track {
  background: #ffffff;
}

.sticky-hscroll::-webkit-scrollbar-thumb,
.sticky-hscroll-scrollbar::-webkit-scrollbar-thumb {
  background-color: #80C41C;
  border-radius: 10px;
  border: 3px solid #ffffff;
}

#compare-badge {
  position: fixed;
  top: 50%;
  right: 0px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 99;
}

#compare-badge svg {
  width: 70%;
  height: auto;
}

#compare-badge::after {
  content: var(--count, '0');
  position: absolute;
  top: -8px;
  left: -8px;
  width: 16px;
  height: 16px;
  background-color: red;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: bold;
}