
.aqar-attrs-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  margin: 10px 0 6px;
}

  .aqar-attrs-row .aqar-attr {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
  }

    .aqar-attrs-row .aqar-attr i {
      font-size: 14px;
      width: 16px;
      text-align: center;
      color: #9ca3af;
    }

    .aqar-attrs-row .aqar-attr span {
      font-size: 13px;
      font-weight: 600;
      color: #374151;
    }
     
.aqar-map-popup-card {
  min-width: 260px;
}

.leaflet-popup-content {
  margin: 12px 14px;
}

html, body {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

  body.aqar-fullpage-map-active {
    width: 100vw !important;
    height: 100vh !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

    body.aqar-fullpage-map-active .main-footer,
    body.aqar-fullpage-map-active .footer,
    body.aqar-fullpage-map-active .header-menu,
    body.aqar-fullpage-map-active .content-header {
      display: none !important;
    }

    body.aqar-fullpage-map-active .content-wrapper,
    body.aqar-fullpage-map-active .master-wrapper-page,
    body.aqar-fullpage-map-active .master-wrapper-content,
    body.aqar-fullpage-map-active .master-column-wrapper,
    body.aqar-fullpage-map-active .center-1 {
      padding: 0 !important;
      margin: 0 !important;
      width: 100% !important;
      max-width: 100% !important;
      height: 100% !important;
      overflow: hidden !important;
    }

    body.aqar-fullpage-map-active section.content {
      padding: 0 !important;
      margin: 0 !important;
      width: 100vw !important;
      height: calc(100vh - var(--aqar-header-h, 50px)) !important;
      min-height: calc(100vh - var(--aqar-header-h, 50px)) !important;
      max-height: calc(100vh - var(--aqar-header-h, 50px)) !important;
      position: relative !important;
      overflow: hidden !important;
      flex: 1;
    }
     
.aqar-slim-header {
  position: relative;
  z-index: 2000;
  width: 100%;
  background: #fff;
  box-shadow: 0 1px 4px rgba(0,0,0,0.1);
}
 
#points-map {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: #e5e3df;
}
 
.aqar-floating-filter-card {
  position: absolute;
  top: 14px;
  left: 14px;
  right: 14px;
  max-width: 820px;
  margin: 0 auto;
  z-index: 1000;
  direction: rtl;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.14), 0 1px 3px rgba(0, 0, 0, 0.08);
  padding: 9px 12px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  border: 1px solid rgba(0, 0, 0, 0.06);
}
 
.aqar-filter-row-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  flex-wrap: wrap;
}
 
.aqar-btn-filter-main {
  background: #007aff;
  color: #ffffff !important;
  border: none;
  border-radius: 9px;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 6px rgba(0, 122, 255, 0.28);
  flex-shrink: 0;
}

  .aqar-btn-filter-main:hover {
    background: #0056b3;
    transform: translateY(-1px);
  }

  .aqar-btn-filter-main i {
    font-size: 12px;
  }
   
.aqar-btn-reset {
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 600;
  color: #4b5563;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  flex-shrink: 0;
} 
  .aqar-btn-reset:hover {
    background: #eff6ff !important;
    border-color: #007aff !important;
    color: #007aff !important;
    transform: translateY(-1px);
  }
   
.aqar-offer-segmented {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 9px;
  overflow: hidden;
  flex-shrink: 0;
}

.aqar-offer-segment-btn {
  background: #ffffff;
  border: none;
  padding: 6px 14px;
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.18s ease;
} 
  .aqar-offer-segment-btn:hover {
    background: #eff6ff !important;
    color: #007aff !important;
  }

  .aqar-offer-segment-btn.active {
    background: #eff6ff;
    color: #007aff;
    font-weight: 700;
  }

.aqar-offer-segment-divider {
  width: 1px;
  height: 18px;
  background: #e5e7eb;
}
 
.aqar-pills-row {
  display: flex;
  align-items: center;
  gap: 6px;
  overflow-x: auto;
  white-space: nowrap;
  padding-bottom: 2px;
  scrollbar-width: none; 
  -ms-overflow-style: none; 
}

  .aqar-pills-row::-webkit-scrollbar {
    display: none;  
  }

.aqar-pill-chip {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 4.5px 12px;
  font-size: 12.5px;
  font-weight: 500;
  color: #4b5563;
  cursor: pointer;
  transition: all 0.18s ease;
  flex-shrink: 0;
  user-select: none;
} 
  .aqar-pill-chip:hover {
    background: #eff6ff !important;
    border-color: #007aff !important;
    color: #007aff !important;
  } 
  .aqar-pill-chip.active {
    border: 1.5px solid #007aff !important;
    color: #007aff !important;
    background: #eff6ff !important;
    font-weight: 700 !important;
  }
   
.aqar-price-pin {
  background: #007aff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3.5px 7px;
  border-radius: 5px;
  white-space: nowrap;
  box-shadow: 0 2px 7px rgba(0, 122, 255, 0.35);
  position: relative;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
  direction: rtl;
}

  .aqar-price-pin::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 4.5px solid transparent;
    border-right: 4.5px solid transparent;
    border-top: 5px solid #007aff;
    transition: border-top-color 0.15s ease;
  } 
  .aqar-price-pin:hover, .aqar-price-pin.active-pin {
    background: #0056b3 !important;
    transform: scale(1.14);
    z-index: 99999 !important;
    box-shadow: 0 4px 14px rgba(0, 86, 179, 0.5) !important;
  }

    .aqar-price-pin:hover::after, .aqar-price-pin.active-pin::after {
      border-top-color: #0056b3 !important;
    }
     
.aqar-map-controls-group {
  position: absolute;
  bottom: 135px;
  right: 16px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.aqar-map-tool-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.08);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 16px;
  color: #374151;
  transition: all 0.2s ease;
}

  .aqar-map-tool-btn:hover {
    background: #eff6ff !important;
    color: #007aff !important;
    border-color: #007aff !important;
    transform: scale(1.06);
  }

  .aqar-map-tool-btn.active-tool {
    background: #007aff;
    color: #ffffff;
  }
   
.aqar-floating-bottom-bar {
  position: absolute;
  bottom: 74px;
  left: 14px;
  right: 14px;
  max-width: 480px;
  margin: 0 auto;
  z-index: 990;
  direction: rtl;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.13), 0 1px 3px rgba(0, 0, 0, 0.07);
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(0, 0, 0, 0.08);
  height: 48px;
  overflow: hidden;
}
 
.aqar-bottom-add-btn {
  color: #007aff !important;
  font-weight: 700;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  text-decoration: none !important;
  padding: 0 16px;
  height: 100%;
  transition: all 0.15s ease;
  flex-shrink: 0;
}
  .aqar-bottom-add-btn:hover {
    background: #eff6ff;
    color: #0056b3 !important;
  }
  .aqar-bottom-add-btn i {
    font-size: 16px;
    color: #007aff;
  }
   
.aqar-bar-divider {
  width: 1px;
  height: 28px;
  background: #e5e7eb;
  flex-shrink: 0;
}
 
.aqar-bottom-counter {
  font-size: 13.5px;
  font-weight: 600;
  color: #374151;
  direction: rtl;
  user-select: none;
  padding: 0 12px;
  white-space: nowrap;
  flex: 1;
  text-align: center;
}
  .aqar-bottom-counter b {
    color: #111827;
  }
   
.aqar-bottom-action-btn {
  background: transparent;
  border: none;
  color: #374151;
  font-size: 13.5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  cursor: pointer;
  padding: 0 16px;
  height: 100%;
  transition: all 0.15s ease;
  text-decoration: none !important;
  flex-shrink: 0;
}
  .aqar-bottom-action-btn:hover {
    background: #eff6ff !important;
    color: #007aff !important;
  }
  .aqar-bottom-action-btn i {
    font-size: 14px;
    color: #4b5563;
  }
  .aqar-bottom-action-btn:hover i {
    color: #007aff;
  }
   
.aqar-bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: #ffffff;
  border-top: 1px solid #e5e7eb;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  z-index: 1000;
  direction: rtl;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.04);
  user-select: none;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.aqar-nav-tab {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3px;
  text-decoration: none !important;
  color: #6b7280;
  font-size: 11.5px;
  font-weight: 500;
  position: relative;
  transition: all 0.15s ease;
  border-top: 3px solid transparent;
  margin-top: -1px;
}
  .aqar-nav-tab:hover {
    color: #007aff;
    background: #eff6ff;
  }
  .aqar-nav-tab i {
    font-size: 17px;
    line-height: 1;
  }
   
.aqar-nav-tab.active {
  color: #007aff !important;
  font-weight: 700;
  border-top-color: #007aff;
}
  .aqar-nav-tab.active i {
    color: #007aff !important;
  }
   
.aqar-nav-icon-wrap {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.aqar-nav-badge-red {
  position: absolute;
  top: -8px;
  right: -13px;
  background: #ef4444;
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  padding: 1px 4.5px;
  border-radius: 4px;
  line-height: 1.2;
  white-space: nowrap;
}

.aqar-nav-badge-admin {
  position: absolute;
  top: -7px;
  left: -9px;
  background: #0284c7;
  color: #ffffff;
  font-size: 8.5px;
  font-weight: 700;
  padding: 0.5px 3.5px;
  border-radius: 3px;
  line-height: 1.2;
}

.leaflet-popup-content-wrapper {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 14px !important;
}

.leaflet-popup-content {
  margin: 0 !important;
  line-height: inherit !important;
}

.leaflet-popup-tip {
  background: #007aff !important;
}

.aqar-map-popup-card {
  background: #eff6ff !important;
  border: 1.5px solid #007aff !important;
  border-radius: 14px !important;
  padding: 12px 14px !important;
  box-shadow: 0 4px 18px rgba(0, 122, 255, 0.28), 0 2px 6px rgba(0, 0, 0, 0.08) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 235px;
  max-width: 290px;
  box-sizing: border-box;
}

  .aqar-map-popup-card:hover {
    background: #dbeafe !important;
    border-color: #0056b3 !important;
    box-shadow: 0 6px 22px rgba(0, 122, 255, 0.38) !important;
    transform: translateY(-2px);
  }

body.aqar-fullpage-map-active.aqar-dir-ltr .aqar-floating-filter-card,
body.aqar-fullpage-map-active.aqar-dir-ltr .aqar-floating-bottom-bar,
body.aqar-fullpage-map-active.aqar-dir-ltr .aqar-slide-drawer,
body.aqar-fullpage-map-active.aqar-dir-ltr .aqar-bottom-counter,
body.aqar-is-en .aqar-floating-filter-card,
body.aqar-is-en .aqar-floating-bottom-bar,
body.aqar-is-en .aqar-slide-drawer,
body.aqar-is-en .aqar-bottom-counter {
  direction: ltr !important;
  text-align: left !important;
}

body.aqar-fullpage-map-active.aqar-dir-ltr .aqar-map-controls-group,
body.aqar-is-en .aqar-map-controls-group {
  right: 16px;
  left: auto;
} 
.aqar-filter-row-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.aqar-active-filters-bar {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.aqar-af-stat {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  background: #f9fafb;
  color: #374151;
  border: 1px solid #e5e7eb;
  animation: aqarFilterPop 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
}

  .aqar-af-stat b {
    background: #374151;
    color: #fff;
    border-radius: 999px;
    padding: 0 7px;
    font-size: 11px;
    line-height: 18px;
  }

/* offer type (Rent, Sale, ...) */
.aqar-af-stat-offer {
  background: #eff6ff;
  color: #007aff;
  border-color: rgba(0, 122, 255, 0.3);
}

  .aqar-af-stat-offer b {
    background: #007aff;
  }

/* property type (Villa, Apartment, ...) */
.aqar-af-stat-realty {
  background: #f0fdf4;
  color: #15803d;
  border-color: rgba(21, 128, 61, 0.3);
}

  .aqar-af-stat-realty b {
    background: #15803d;
  }

@media (max-width: 768px) {
  .aqar-filter-row-top {
    flex-wrap: wrap;
  }

  .aqar-active-filters-bar {
    flex-basis: 100%;
  }
}