.map-fullpage {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

.map-fullpage-canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

#map-area-page {
  width: 100%;
  height: 100%;
}

.map-topbar {
  position: fixed;
  top: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.map-search {
  display: flex;
  align-items: center;
}

.map-search input {
  width: 260px;
  padding: 10px 40px 10px 14px;
  border-radius: 30px;
  border: 1px solid #d0d9d2;
  font-size: 0.9rem;
  outline: none;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.map-search-clear {
  border: none;
  background: transparent;
  font-size: 20px;
  cursor: pointer;
  margin-left: -34px;
  color: #6b7a70;
  display: none;
}

.map-search-result {
  background: white;
  padding: 8px 16px;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  font-size: 0.9rem;
}

.map-fullpage-panel {
  position: fixed;
  left: 20px;
  top: 100px;
  bottom: 20px;
  width: 300px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  gap: 16px;
  overflow-y: auto;
}

.map-filter {
  background: white;
  border: 1px solid #eef2ef;
  border-radius: var(--border-radius);
  padding: 20px;
  box-shadow: var(--card-shadow);
}

.map-filter h3 {
  font-size: 1rem;
  margin-bottom: 12px;
}

#map-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-chip {
  background: var(--primary-light);
  border-radius: 40px;
  padding: 8px 14px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--primary);
  cursor: pointer;
  user-select: none;
  transition: all var(--transition);
}

.filter-chip.active {
  background: var(--accent);
  color: #1e1e1e;
}

.support-card {
  background: white;
  border: 1px solid #eef2ef;
  border-radius: var(--border-radius);
  padding: 20px;
  text-align: left;
  box-shadow: var(--card-shadow);
}

.support-card p {
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 16px;
  text-align: left;
}

.support-card img {
  display: block;
  width: 140px;
  height: 140px;
  margin: 0 auto 16px;
  border-radius: 12px;
}

.sbp-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 10px 18px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: background var(--transition);
  box-sizing: border-box;
}

.sbp-link:hover {
  background: #dbe9df;
}

.map-card {
  display: block;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  border-radius: 14px;
  padding: 16px 18px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  max-width: 200px;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  position: relative;
  z-index: 1;
  transition: z-index 0s, background var(--transition), box-shadow var(--transition);
}

.map-card::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 10px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(4px);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}

.map-card:hover {
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
}

.map-card:hover::after {
  background: rgba(255, 255, 255, 0.95);
}

.map-card h4 {
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--primary);
}

.map-card p {
  font-size: 0.8rem;
  color: var(--text-light);
  margin-bottom: 10px;
}

.price-tag {
  font-weight: 700;
  font-size: 1.1rem;
}

.parcel-card-icon {
  background: transparent;
  border: none;
}

@media (max-width: 900px) {
  .map-fullpage-panel {
    left: 10px;
    right: 10px;
    top: auto;
    bottom: 10px;
    width: auto;
    height: 40vh;
  }
}

@media (max-width: 900px) {
  .map-fullpage-panel {
    display: none;
  }

  .map-fullpage-canvas {
    top: 60px;
  }

  .map-topbar {
    top: 100px;
  }

  .mobile-actions {
    display: none !important;
  }
}