.mls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.mls-card {
  border: 1px solid #eee;
  background: #fff;
  padding: 10px;
}

.mls-card img {
  width: 100%;
  height: 220px !important;
  object-fit: cover;
}

a.mls-btn:focus {
  color: #fff;
}

.map-popup {
  font-size: 14px;
}

.map-btn {
  display: inline-block;
  padding: 6px 12px;
  background: #0073e6;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
}

.map-btn:hover {
  background: #005bb5;
}
div#mls-count {
  color: #000;
  font-weight: 500;
  text-transform: capitalize;
  background: #fff;
  width: fit-content;
  padding: 10px;
  margin-bottom: 24px;
  margin-top: 20px;
  border-radius: 40px;
  box-shadow: 10px 10px #e1e1e1;
}
a.map-btn {
  color: #fff !important;
}

.price-filter {
  margin-left: 16px;
  margin-right: 16px;
  width: 258px;
}

.no-data {
  text-align: left;
  font-size: 18px;
  color: #000;
  padding-top: 35px;
  font-weight: 700;
}
.hfe-scroll-to-top-wrap .hfe-scroll-to-top-button {
  background-color: #812aad !important;
}

.site-below-footer-wrap.ast-builder-grid-row-container.site-footer-focus-item.ast-builder-grid-row-2-equal.ast-builder-grid-row-tablet-2-equal.ast-builder-grid-row-mobile-full.ast-footer-row-stack.ast-footer-row-tablet-stack.ast-footer-row-mobile-stack
  a {
  color: #812aad !important;
}

.mls-btn {
  background: #812aad;
  color: #fff;
  padding: 8px 14px;
  display: inline-block;
  border: 1px solid #812aad;
  border-radius: 20px;
  margin-top: 8px;
  font-family: "Poppins";
  font-size: 15px !important;
}

a.mls-btn:hover {
  background: #812aad82;
  border-color: #812aad82;
  color: #fff !important;
}

.mls-card-content {
  padding: 16px;
}

#mls-map {
  height: 500px;
  margin-top: 40px;
}

.mls-list-card {
  display: flex;
  border: 1px solid #ddd;
  margin-bottom: 20px;
}

.mls-list-image img {
  width: 260px;
  height: 180px;
  object-fit: cover;
}

.mls-list-content {
  padding: 15px;
}

.mls-card .mls-card-content p {
  margin-bottom: 8px;
  font-family: "Poppins";
  font-size: 14px;
}
ul.elementor-icon-list-items.property-land {
  background: orange;
}
ul.elementor-icon-list-items.property-residential {
  background: green;
  color: #fff;
}
.mls-card ul.elementor-icon-list-items {
  padding: 6px 16px !important;
  font-size: 13px;
  text-transform: uppercase;
  font-weight: 800;
}
.mls-card.property-list ul.elementor-icon-list-items {
  position: absolute;
  top: 10px;
}

.mls-loading {
  display: none;
  text-align: center;
  margin: 40px 0;
}

.mls-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid #eee;
  border-top: 4px solid #2563eb;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: auto;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.mls-loading p {
  margin-top: 10px;
  font-size: 14px;
  color: #666;
}

.mls-search {
  max-width: 1100px;
  margin: auto;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

.mls-main-search {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.mls-input {
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  min-width: 130px;
}

.location {
  flex: 1;
  min-width: 220px;
}

.mls-search-btn {
  background: #2a5ea8;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 600;
}

.mls-search-btn:hover {
  background: #1d4a87;
}

.mls-more-btn {
  background: none;
  border: none;
  color: #2a5ea8;
  cursor: pointer;
  font-weight: 600;
}

.mls-advanced {
  display: none;
  margin-top: 15px;
  gap: 10px;
  flex-wrap: wrap;
}

.mls-check {
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.elementor-widget .elementor-icon-list-icon + .elementor-icon-list-text {
  align-self: center;
  padding-inline-start: 6px;
  margin-top: 1px;
  font-family: "Poppins";
  font-weight: 500;
}
.mls-card-content h3 {
  color: #812aad;
  font-family: "Poppins";
}

.property-commercial.sale {
  background: yellow;
}
.property-commercial.lease {
  background: #6d7102b8;
  color: #fff;
}

/* =========================================
   MODERN PROPERTY SHARE BUTTON
   ========================================= */

.mls-share-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Individual share icon */
.mls-share-icon {
  position: relative;
  width: 38px;
  height: 38px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  border-radius: 12px;

  background: #f5f6f8;
  color: #555;

  border: 1px solid rgba(0, 0, 0, 0.06);

  text-decoration: none !important;

  font-size: 15px;

  cursor: pointer;

  overflow: hidden;

  transition:
    transform 0.25s ease,
    color 0.25s ease,
    background 0.25s ease,
    box-shadow 0.25s ease;
}

/* Shine effect */
.mls-share-icon::before {
  content: "";
  position: absolute;
  inset: 0;

  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.45),
    transparent 55%
  );

  opacity: 0;

  transition: opacity 0.25s ease;
}

.mls-share-icon i {
  position: relative;
  z-index: 2;
}

/* Hover */
.mls-share-icon:hover {
  transform: translateY(-4px);

  color: #fff;

  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
}

.mls-share-icon:hover::before {
  opacity: 1;
}

/* =========================================
   WHATSAPP
   ========================================= */

.mls-share-icon.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;

  box-shadow: 0 8px 20px rgba(37, 211, 102, 0.35);
}

/* =========================================
   FACEBOOK
   ========================================= */

.mls-share-icon.facebook:hover {
  background: #1877f2;
  border-color: #1877f2;

  box-shadow: 0 8px 20px rgba(24, 119, 242, 0.35);
}

/* =========================================
   X / TWITTER
   ========================================= */

.mls-share-icon.x-twitter:hover {
  background: #111;
  border-color: #111;

  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}

/* =========================================
   EMAIL
   ========================================= */

.mls-share-icon.email:hover {
  background: #e85d75;
  border-color: #e85d75;

  box-shadow: 0 8px 20px rgba(232, 93, 117, 0.3);
}

/* =========================================
   COPY LINK
   ========================================= */

.mls-share-icon.copy-link:hover {
  background: #6c63ff;
  border-color: #6c63ff;

  box-shadow: 0 8px 20px rgba(108, 99, 255, 0.35);
}

/* =========================================
   COPIED STATE
   ========================================= */

.mls-share-icon.copy-link.copied {
  background: #22b573;
  border-color: #22b573;
  color: #fff;

  box-shadow: 0 8px 20px rgba(34, 181, 115, 0.35);
}

#mls-map {
    width: 100%;
    height: 600px !important;
    min-height: 600px !important;
    position: relative;
    z-index: 1;
}

/* =========================================
   DETAILS + SHARE ALIGNMENT
   ========================================= */

/* .mls-card-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 15px;

  margin-top: 18px;
} */

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {
  .mls-card-actions {
    align-items: flex-start;
    flex-direction: column;
  }

  .mls-share-buttons {
    width: 100%;
    justify-content: flex-start;
  }
}

.mls-share-wrapper {
  display: flex;
  align-items: center;
  padding: 8px 5px 8px 12px;
  background: #ffffff;
  border: 1px solid #e8e9ed;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
  margin-top: 16px;
}

.mls-share-label {
  display: flex;
  align-items: center;
  gap: 6px;

  color: #777;

  font-size: 12px;
  font-weight: 600;

  white-space: nowrap;
}

.mls-share-label i {
  font-size: 13px;
  color: #333;
}

.mls-share-buttons {
  display: flex;
  align-items: center;
  gap: 5px;
}

.mls-share-icon {
  width: 32px;
  height: 32px;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: #f6f7f9;
  color: #555;

  border: 0;

  cursor: pointer;

  transition: all 0.25s ease;
}

.mls-share-icon:hover {
  transform: translateY(-3px) scale(1.05);
  color: #fff;
}

.mls-share-icon.whatsapp:hover {
  background: #25d366;
}

.mls-share-icon.facebook:hover {
  background: #1877f2;
}

.mls-share-icon.x-twitter:hover {
  background: #000;
}

.mls-share-icon.email:hover {
  background: #e85d75;
}

.mls-share-icon.copy-link:hover {
  background: #6c63ff;
}

.mls-share-icon.copy-link.copied {
  background: #22b573;
  color: #fff;
}

@media (max-width: 800px) {
  .mls-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .mls-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
  }
  .mls-card ul.elementor-icon-list-items {
    position: relative !important;
  }
}
