/* MAP RIGHT PANEL */
.map-sticky {
  position: sticky;
  top: 131px;
  height: calc(100vh - 150px);
  border-radius: 0px;
  overflow: hidden;
  margin-top: -7rem;
}

/* === WRAPPER === */
.map-fixed-wrapper {
  background-color: #fff;
  width: 100vw;
  height: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  flex-direction: column;
  position: fixed;
  top: 113px;
  z-index: 1050;
}

/* === BLUE LINE === */
.map-fixed-line {
  width: 100vw;
  height: 2px;
  background-color: #318fe3; /* ✅ your blue */
  left: 0;
}

.map-iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* CARD */
.album-card {
  border-radius: 0px;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

/* IMAGE */
.album-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  transition: filter 0.2s ease;
}

/* ICON BUTTONS */
.album-card-icons {
  position: absolute;
  top: 10px;
  left: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 10;
}

.album-glass-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  backdrop-filter: blur(10px);
  background: #318fe3; /* ✅ your blue */
  border: 1px solid #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: 0.25s;
}

.album-glass-btn:hover {
  background: rgba(49, 143, 227, 0.55); /* ✅ blue in rgba */
  transform: translateY(-2px);
}

.album-glass-btn.bookmark img {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

.album-glass-btn img {
  width: 22px;
  height: 22px;
}

/* TITLE */
.album-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 6px;
}

/* ADDRESS (ellipsis fix) */
.album-address {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  color: #a3a3a3; /* ✅ your gray */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.album-address-text {
  flex: 1;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}

.album-address i {
  color: #318fe3; /* ✅ your blue */
  flex-shrink: 0;
}

/* SPECS */
.album-spec {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
}

.album-spec img {
  width: 27px;
  height: 27px;
}

/* PRICES */
.album-prices .price-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 4px;
  font-size: 0.85rem;
}

/* META */
.album-meta span {
  font-size: 0.78rem;
  background: rgba(163, 163, 163, 0.12); /* ✅ gray-based bg */
  padding: 4px 6px;
  border-radius: 6px;
  border: 1px solid rgba(163, 163, 163, 0.45); /* ✅ gray border */
  color: #444; /* not blue/gray given → keep */
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .map-sticky {
    position: static;
    height: 350px;
    margin-top: 10px;
  }
}

@media (max-width: 575px) {
  .album-img {
    height: 150px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .album-specs-container {
    width: 90%;
  }
}

@media (min-width: 1200px) and (max-width: 1410px) {
  .album-specs-container {
    width: 100%;
  }
}

@media (min-width: 1411px) {
  .album-specs-container {
    width: 80%;
  }
}

/* وقتی عرض کمتر از 1200px بود */
@media (max-width: 1199px) {
  /* کارت‌ها همیشه یک‌ستونی */
  #mapView .cardsCol {
    flex: 0 0 35% !important;
    max-width: 35% !important;
  }

  /* نقشه بزرگ‌تر */
  #mapView .mapCol {
    flex: 0 0 65% !important;
    max-width: 65% !important;
  }

  /* خود کارت داخلی */
  #mapView .cardsCol .col-sm-6 {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 1199px) {
  .map-sticky {
    position: sticky;
    margin-top: -7.8rem;
  }
}

@media (max-width: 1199px) {
  .map-fixed-wrapper {
    top: 153px;
  }
}

/* هاور روی کارت → حاشیه آبی */
.album-card:hover {
  border-color: #318fe3; /* ✅ your blue */
}

/* هاور روی کارت → تصویر کمی تیره‌تر شود */
.album-card:hover .album-img {
  filter: brightness(0.8);
}

#mapViewContent .album-card {
  min-height: 420px;
  max-height: 420px;
  overflow: hidden;
}

@media (min-width: 992px) {
  /* gap کمتر */
  #mapView .row {
    --bs-gutter-x: 8px;
    --bs-gutter-y: 8px;
  }
}
