@import "../vendor/leaflet/dist/leaflet.min-YqA-lmN.css";
@import "../vendor/leaflet-control-geocoder/dist/Control.Geocoder-PUJhA1Z.css";
@import "../vendor/leaflet.locatecontrol/dist/L.Control.Locate.min-2OkdO63.css";
@import "../vendor/leaflet.markercluster/dist/MarkerCluster.min-YWk9Xqo.css";
:root {
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #0f172a;
  --accent: #D97706;
  --border-inactive: rgba(0, 0, 0, 0.05);
  --logo-main: #1f2937; /* Ciemny szary/antracyt */
  --logo-ai: #D97706; /* Amber brand */
}

[data-theme=dark] {
  --bg: #020617;
  --card: #1e293b;
  --text: #f8fafc;
  --accent: #FBBF24;
  --border-inactive: rgba(255, 255, 255, 0.1);
  --logo-main: #f8fafc;
  --logo-ai: #FBBF24;
}

body.map-overlay-open {
  overflow: hidden;
  overscroll-behavior: none;
}

.map-container {
  position: relative;
  height: calc(100vh - 56px);
  height: calc(100svh - 56px);
  overflow: hidden;
}

.map-filter-bar {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  max-width: calc(100% - 460px);
}
@media (max-width: 767px) {
  .map-filter-bar {
    top: auto;
    bottom: calc(76px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    right: 10px;
    transform: none;
    max-width: none;
    justify-content: flex-start;
  }
}
.map-filter-bar__inner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  max-width: 420px;
  overflow: hidden;
}
.map-filter-bar__inner span {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.map-filter-bar__inner i.fa-filter {
  color: #2563eb;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.map-filter-bar__inner img {
  flex-shrink: 0;
}
@media (max-width: 767px) {
  .map-filter-bar__inner {
    max-width: calc(100vw - 80px);
  }
}
.map-filter-bar__back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #1e293b;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
  text-decoration: none;
  transition: all 0.15s ease;
}
.map-filter-bar__back i {
  font-size: 0.75rem;
  color: #2563eb;
}
.map-filter-bar__back:hover {
  background: #f8fafc;
  color: #2563eb;
  border-color: #2563eb;
}
@media (max-width: 767px) {
  .map-filter-bar__back {
    width: 36px;
    height: 36px;
    padding: 0;
    border-radius: 50%;
  }
  .map-filter-bar__back span {
    display: none;
  }
  .map-filter-bar__back i {
    font-size: 0.85rem;
  }
}
.map-filter-bar__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #f1f5f9;
  color: #64748b;
  text-decoration: none;
  transition: all 0.15s ease;
  margin-left: 2px;
}
.map-filter-bar__clear i {
  font-size: 0.65rem;
}
.map-filter-bar__clear:hover {
  background: #ef4444;
  color: #fff;
}

#map {
  height: calc(100vh - 56px);
  height: calc(100svh - 56px);
  width: 100%;
  position: relative;
  overflow: hidden;
}

.leaflet-container {
  height: 100%;
  width: 100%;
}

.leaflet-container img {
  max-width: none !important;
  max-height: none !important;
}

.marker--active {
  filter: drop-shadow(0 0 8px rgba(232, 133, 10, 0.6)) brightness(1.1);
  z-index: 1000 !important;
}

.map-cluster {
  background: none !important;
}

.cluster-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 800;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.cluster-icon:hover {
  transform: scale(1.12);
}
.cluster-icon span {
  line-height: 1;
}
.cluster-icon--small {
  width: 40px;
  height: 40px;
  font-size: 0.8rem;
  background: linear-gradient(135deg, #E8850A, #F5A623);
}
.cluster-icon--medium {
  width: 48px;
  height: 48px;
  font-size: 0.9rem;
  background: linear-gradient(135deg, #C2710A, #E8850A);
}
.cluster-icon--large {
  width: 56px;
  height: 56px;
  font-size: 1rem;
  background: linear-gradient(135deg, #A06808, #C2710A);
}

.map-panel {
  position: absolute;
  z-index: 1200;
  background: #ffffff;
  overflow: hidden;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1), opacity 0.25s ease;
}
@media (min-width: 768px) {
  .map-panel {
    top: 0;
    right: 0;
    width: 380px;
    height: 100%;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
    transform: translateX(100%);
    opacity: 0;
    border-left: 1px solid #f3f4f6;
  }
  .map-panel--open {
    transform: translateX(0);
    opacity: 1;
  }
}
@media (max-width: 767px) {
  .map-panel {
    bottom: 0;
    left: 0;
    right: 0;
    max-height: 65vh;
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.12);
    transform: translateY(100%);
    opacity: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  .map-panel--open {
    transform: translateY(0);
    opacity: 1;
  }
  .map-panel--minimized {
    transform: translateY(calc(100% - 56px));
    opacity: 1;
  }
}
.map-panel__drag-handle {
  display: none;
}
@media (max-width: 767px) {
  .map-panel--open .map-panel__drag-handle {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 28px;
    z-index: 12;
    cursor: pointer;
  }
  .map-panel--open .map-panel__drag-handle::after {
    content: "";
    display: block;
    width: 40px;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.6);
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
  }
}
.map-panel__mini-header {
  display: none;
}
@media (max-width: 767px) {
  .map-panel--minimized .map-panel__mini-header {
    display: flex;
    align-items: center;
    gap: 12px;
    height: 56px;
    padding: 0 20px;
    cursor: pointer;
    background: #ffffff;
    border-radius: 20px 20px 0 0;
  }
}
.map-panel__mini-drag {
  width: 36px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  flex-shrink: 0;
  margin-right: 4px;
}
.map-panel__mini-title {
  flex: 1;
  font-size: 0.88rem;
  font-weight: 700;
  color: #111827;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.map-panel__mini-expand-icon {
  color: #9ca3af;
  font-size: 0.75rem;
  flex-shrink: 0;
}
.map-panel__close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 15;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}
.map-panel__close:hover {
  background: rgba(0, 0, 0, 0.7);
}
.map-panel__body {
  height: 100%;
  overflow-y: auto;
}
@media (max-width: 767px) {
  .map-panel__body {
    flex: 1;
    min-height: 0;
    max-height: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
  }
}
.map-panel__image-wrapper {
  position: relative;
  width: 100%;
  height: 220px;
  min-height: 220px;
  flex-shrink: 0;
  overflow: hidden;
  background: #f9fafb;
}
@media (max-width: 767px) {
  .map-panel__image-wrapper {
    height: 180px;
    min-height: 180px;
    border-radius: 20px 20px 0 0;
  }
}
.map-panel__image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.map-panel__type-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(8px);
  letter-spacing: 0.3px;
}
.map-panel__google-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.65rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(8px);
  letter-spacing: 0.2px;
}
.map-panel__content {
  padding: 20px 24px 28px;
}
@media (max-width: 767px) {
  .map-panel__content {
    padding: 16px 20px calc(24px + env(safe-area-inset-bottom, 0px));
  }
}
.map-panel__title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 8px;
  letter-spacing: -0.3px;
  line-height: 1.3;
}
.map-panel__address {
  font-size: 0.82rem;
  color: #9ca3af;
  margin: 0 0 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-panel__address i {
  color: #E8850A;
  opacity: 0.7;
  font-size: 0.75rem;
}
.map-panel__distance {
  font-size: 0.82rem;
  color: #6b7280;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.map-panel__distance i {
  color: #2563eb;
  opacity: 0.7;
  font-size: 0.75rem;
}
.map-panel__hours {
  font-size: 0.82rem;
  color: #10b981;
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
}
.map-panel__hours i {
  font-size: 0.75rem;
  opacity: 0.8;
}
.map-panel__hours--closed {
  color: #ef4444;
}
.map-panel__cuisine {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.map-panel__cuisine-tag {
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
  background: rgba(245, 166, 35, 0.08);
  color: #C2710A;
  border: 1px solid rgba(245, 166, 35, 0.15);
}
.map-panel__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 12px;
}
.map-panel__badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.7rem;
  font-weight: 600;
}
.map-panel__badge--kids {
  background: rgba(236, 72, 153, 0.08);
  color: #be185d;
  border: 1px solid rgba(236, 72, 153, 0.15);
}
.map-panel__badge--kids i {
  font-size: 0.65rem;
}
.map-panel__promo {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  margin: 0 0 16px;
  border-radius: 12px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #C2710A;
  background: linear-gradient(135deg, rgba(232, 133, 10, 0.06), rgba(245, 166, 35, 0.1));
  border: 1px solid rgba(232, 133, 10, 0.12);
}
.map-panel__promo i {
  font-size: 0.75rem;
  color: #E8850A;
}
.map-panel__description {
  font-size: 0.9rem;
  color: #4B5563;
  line-height: 1.55;
  margin: 0 0 20px;
}
.map-panel__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.map-panel__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px 20px;
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #ffffff;
  background: linear-gradient(135deg, #E8850A, #F5A623);
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 4px 16px rgba(232, 133, 10, 0.25);
}
.map-panel__cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(232, 133, 10, 0.35);
  color: #ffffff;
}
.map-panel__cta i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}
.map-panel__cta:hover i {
  transform: translateX(3px);
}
.map-panel__nav-row {
  display: flex;
  gap: 8px;
}
.map-panel__nav-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 16px;
  border-radius: 12px;
  border: 1.5px solid #f3f4f6;
  background: #ffffff;
  color: #2563eb;
  font-size: 0.82rem;
  font-weight: 700;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  transition: all 0.2s ease;
}
.map-panel__nav-btn i {
  font-size: 0.85rem;
}
.map-panel__nav-btn:hover {
  border-color: #2563eb;
  background: #eff6ff;
}
.map-panel__nav-btn--active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}
.map-panel__nav-btn--active:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
}
.map-panel__nav-btn--ext {
  color: #4B5563;
}
.map-panel__nav-btn--ext:hover {
  border-color: #6b7280;
  background: #f9fafb;
}

.map-route-info {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1100;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.map-route-info > i {
  color: #2563eb;
  font-size: 0.9rem;
}
.map-route-info__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border: none;
  border-radius: 50%;
  background: #f9fafb;
  color: #9ca3af;
  font-size: 0.7rem;
  cursor: pointer;
  margin-left: 4px;
  transition: all 0.2s ease;
}
.map-route-info__close:hover {
  background: rgba(239, 68, 68, 0.1);
  color: #ef4444;
}
@media (max-width: 767px) {
  .map-route-info {
    top: 12px;
    padding: 8px 14px;
    font-size: 0.78rem;
    gap: 8px;
  }
}
@media (min-width: 768px) {
  .map-container:has(.map-panel--open) .map-route-info {
    transform: translateX(calc(-50% - 190px));
    transition: transform 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
}

.modern-search-wrapper {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 1100;
  width: 400px;
  max-width: calc(100% - 40px);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
@media (max-width: 767px) {
  .modern-search-wrapper {
    top: auto;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
    left: 10px;
    right: 10px;
    width: auto;
    max-width: none;
  }
  .map-container:has(.map-panel--open) .modern-search-wrapper, .map-container:has(.map-panel--minimized) .modern-search-wrapper {
    display: none;
  }
}
@media (min-width: 768px) {
  .map-container:has(.map-panel--open) .modern-search-wrapper {
    right: 400px;
    transition: right 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
  }
}

.search-top-bar {
  display: flex;
  align-items: center;
  gap: 10px;
}
.search-top-bar .search-box {
  flex: 1;
  min-width: 0;
}

.map-search-cancel {
  display: none;
}

@media (max-width: 767px) {
  .map-container--search-active .modern-search-wrapper {
    position: fixed !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: auto !important;
    max-width: none !important;
    z-index: 2000;
    background: #fff;
    padding: calc(env(safe-area-inset-top, 0px) + 10px) 12px 0;
    display: flex !important;
    flex-direction: column;
    gap: 8px;
  }
  .map-container--search-active .modern-results-list {
    position: static !important;
    bottom: auto !important;
    margin: 0 !important;
    flex: 1;
    max-height: none !important;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-bottom: none;
    border-top: 1px solid #f3f4f6;
    box-shadow: none;
    padding-bottom: env(safe-area-inset-bottom, 20px);
  }
  .map-container--search-active .map-search-cancel {
    display: block;
    flex-shrink: 0;
    background: none;
    border: none;
    color: #E8850A;
    font-size: 0.92rem;
    font-weight: 600;
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    padding: 8px 4px;
    cursor: pointer;
    white-space: nowrap;
    line-height: 1;
  }
}
.search-box {
  display: flex;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 6px;
  transition: box-shadow 0.3s ease;
}
@media (max-width: 767px) {
  .search-box {
    padding: 4px;
    border-radius: 12px;
  }
}

.search-box:focus-within {
  box-shadow: 0 4px 28px rgba(0, 0, 0, 0.16);
}

.search-input-container {
  display: flex;
  align-items: center;
  flex-grow: 1;
  padding: 0 12px;
}

.search-icon {
  color: #9ca3af;
  margin-right: 10px;
}

.search-clear-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  margin: 0 2px 0 4px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: #9ca3af;
  cursor: pointer;
  font-size: 11px;
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.15s ease, color 0.15s ease, background 0.15s ease;
}
.search-clear-btn:hover {
  opacity: 1;
  color: #374151;
  background: rgba(0, 0, 0, 0.06);
}
.search-clear-btn[hidden] {
  display: none;
}

.search-box input {
  border: none;
  outline: none;
  width: 100%;
  font-size: 16px;
  color: #111827;
  padding: 8px 0;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
}
@media (max-width: 767px) {
  .search-box input {
    font-size: 16px;
    padding: 6px 0;
  }
}

.search-box > button {
  background: #E8850A;
  color: #ffffff;
  border: none;
  padding: 8px 20px;
  border-radius: 10px;
  font-weight: 700;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .search-box > button {
    padding: 6px 14px;
    font-size: 13px;
    border-radius: 8px;
  }
}

.search-box button:hover {
  background: #C2710A;
}

.modern-results-list {
  margin-top: 8px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  list-style: none;
  padding: 8px 0;
  display: none;
  max-height: 300px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid #f3f4f6;
}
@media (max-width: 767px) {
  .modern-results-list {
    position: absolute;
    bottom: 100%;
    left: 0;
    right: 0;
    margin-top: 0;
    margin-bottom: 8px;
    max-height: 50vh;
  }
}

.modern-results-list li {
  padding: 12px 16px;
  font-size: 14px;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  transition: background 0.2s ease;
}

.modern-results-list li .search-result-icon {
  color: #9ca3af;
  font-size: 0.85rem;
  margin-right: 10px;
  flex-shrink: 0;
}

.modern-results-list li:hover,
.modern-results-list li.active {
  background: #f9fafb;
  color: #E8850A;
}

.search-result-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.search-result-main {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-result-secondary {
  font-size: 0.75rem;
  color: #9ca3af;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.search-results-group-label {
  padding: 6px 16px 4px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #9ca3af;
  pointer-events: none;
  cursor: default;
  border-top: 1px solid #f3f4f6;
}
.search-results-group-label:first-child {
  border-top: none;
}

.search-result-icon--company {
  color: #E8850A !important;
}

.search-result-badge {
  margin-left: auto;
  padding: 2px 7px;
  font-size: 0.68rem;
  font-weight: 600;
  border-radius: 20px;
  background: #fff5ed;
  color: #C2710A;
  white-space: nowrap;
  flex-shrink: 0;
}

.dot-pulse {
  display: inline-flex;
  gap: 3px;
}

.dot-pulse span {
  width: 5px;
  height: 5px;
  background-color: #E8850A;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.4s infinite ease-in-out both;
}

.dot-pulse span:nth-child(1) {
  animation-delay: -0.32s;
}

.dot-pulse span:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes pulse {
  0%, 80%, 100% {
    transform: scale(0);
    opacity: 0;
  }
  40% {
    transform: scale(1);
    opacity: 1;
  }
}
.map-panel .price-indicator {
  display: inline-flex;
  align-items: center;
  gap: 0.1rem;
  background: rgba(249, 115, 22, 0.06);
  padding: 0.25rem 0.6rem;
  border-radius: 8px;
  border: 1px solid rgba(249, 115, 22, 0.12);
  cursor: default;
}
.map-panel .price-indicator__sign {
  font-size: 0.65rem;
  font-weight: 800;
  color: #d1d5db;
  letter-spacing: -0.02em;
}
.map-panel .price-indicator__sign--active {
  color: #f59e0b;
}
.map-panel .price-indicator__label {
  font-size: 0.65rem;
  font-weight: 600;
  color: #64748b;
  margin-left: 0.3rem;
}
.map-panel .price-indicator--level-1 {
  border-color: rgba(34, 197, 94, 0.2);
  background: rgba(34, 197, 94, 0.05);
}
.map-panel .price-indicator--level-1 .price-indicator__sign--active {
  color: #16a34a;
}
.map-panel .price-indicator--level-2 {
  border-color: rgba(34, 197, 94, 0.15);
  background: rgba(34, 197, 94, 0.04);
}
.map-panel .price-indicator--level-2 .price-indicator__sign--active {
  color: #22c55e;
}
.map-panel .price-indicator--level-3 {
  border-color: rgba(249, 115, 22, 0.12);
  background: rgba(249, 115, 22, 0.05);
}
.map-panel .price-indicator--level-3 .price-indicator__sign--active {
  color: #f59e0b;
}
.map-panel .price-indicator--level-4 {
  border-color: rgba(239, 68, 68, 0.12);
  background: rgba(239, 68, 68, 0.04);
}
.map-panel .price-indicator--level-4 .price-indicator__sign--active {
  color: #ef4444;
}
.map-panel .price-indicator--level-5 {
  border-color: rgba(168, 85, 247, 0.15);
  background: rgba(168, 85, 247, 0.04);
}
.map-panel .price-indicator--level-5 .price-indicator__sign--active {
  color: #a855f7;
}

.map-panel__ai-summary {
  margin: 0 0 12px;
  padding: 10px 12px;
  background: rgba(37, 99, 235, 0.05);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 10px;
  font-size: 0.82rem;
  line-height: 1.5;
  color: #374151;
}
.map-panel__ai-summary-label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-weight: 700;
  font-size: 0.72rem;
  color: #1d4ed8;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 5px;
}
.map-panel__ai-summary-label img {
  width: 14px;
  height: 14px;
  display: block;
}
.map-panel__ai-summary-text {
  margin: 0;
  color: #374151;
}

.map-marker-tooltip {
  background: rgba(15, 23, 42, 0.88) !important;
  border: none !important;
  border-radius: 8px !important;
  color: #f1f5f9 !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  padding: 5px 10px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25) !important;
  white-space: nowrap !important;
  backdrop-filter: blur(6px);
}
.map-marker-tooltip::before {
  border-top-color: rgba(15, 23, 42, 0.88) !important;
}

.leaflet-container a.leaflet-popup-close-button {
  color: #ffffff !important;
}

.map-chip-filters {
  position: absolute;
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: auto;
}
@media (min-width: 768px) {
  .map-chip-filters {
    bottom: 40px;
    left: 12px;
    flex-wrap: nowrap;
  }
}
@media (max-width: 767px) {
  .map-chip-filters {
    display: none;
  }
}

.map-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1.5px solid rgba(255, 255, 255, 0.75);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.18s cubic-bezier(0.165, 0.84, 0.44, 1);
  flex-shrink: 0;
}
.map-chip i {
  font-size: 0.72rem;
  color: #9ca3af;
  transition: color 0.18s ease;
}
.map-chip:hover {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  border-color: rgba(232, 133, 10, 0.5);
  color: #C2710A;
  transform: translateY(-1px);
}
.map-chip:hover i {
  color: #E8850A;
}
.map-chip--active {
  background: #E8850A;
  border-color: #E8850A;
  color: #fff;
  box-shadow: 0 4px 16px rgba(232, 133, 10, 0.35);
}
.map-chip--active i {
  color: rgba(255, 255, 255, 0.9);
}
.map-chip--active:hover {
  background: #C2710A;
  border-color: #C2710A;
  color: #fff;
  transform: translateY(-1px);
}
.map-chip--active:hover i {
  color: #fff;
}
@media (max-width: 767px) {
  .map-chip {
    padding: 7px 12px;
    font-size: 0.75rem;
  }
  .map-chip i {
    font-size: 0.7rem;
  }
}

.map-chip-count {
  display: none;
  align-items: center;
  padding: 7px 12px;
  border-radius: 100px;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: #fff;
  white-space: nowrap;
  flex-shrink: 0;
}
.map-chip-count--visible {
  display: inline-flex;
}
@media (max-width: 767px) {
  .map-chip-count {
    font-size: 0.72rem;
    padding: 6px 10px;
  }
}

@keyframes filter-trigger-pulse {
  0% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(232, 133, 10, 0.28);
  }
  70% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 12px rgba(232, 133, 10, 0);
  }
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12), 0 0 0 0 rgba(232, 133, 10, 0);
  }
}
@media (min-width: 768px) {
  .map-filter-trigger {
    display: none;
  }
}
@media (max-width: 767px) {
  .map-container:has(.map-panel--open) .map-filter-trigger, .map-container:has(.map-panel--minimized) .map-filter-trigger {
    display: none;
  }
}
@media (max-width: 767px) {
  .map-container:has(.map-filter-bar__inner) .map-filter-trigger {
    bottom: calc(124px + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 767px) {
  .map-filter-trigger {
    position: absolute;
    bottom: calc(80px + env(safe-area-inset-bottom, 0px));
    left: 50%;
    transform: translateX(-50%);
    z-index: 1150;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 22px;
    border-radius: 100px;
    border: 1.5px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
    font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    color: #374151;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s cubic-bezier(0.165, 0.84, 0.44, 1);
    animation: filter-trigger-pulse 1.8s ease-out 1.5s 2;
  }
  .map-filter-trigger > i {
    font-size: 0.85rem;
    color: #6b7280;
    transition: color 0.2s ease;
  }
  .map-filter-trigger:active {
    transform: translateX(-50%) scale(0.96);
  }
  .map-filter-trigger--active {
    border-color: rgba(232, 133, 10, 0.4);
    background: rgba(255, 255, 255, 0.98);
  }
  .map-filter-trigger--active > i {
    color: #E8850A;
  }
  .map-filter-trigger--active .map-filter-trigger__label {
    color: #C2710A;
  }
}
.map-filter-trigger__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  border-radius: 100px;
  background: #E8850A;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
}
.map-filter-trigger__badge.d-none {
  display: none;
}

@media (min-width: 768px) {
  .map-filter-backdrop {
    display: none;
  }
}
@media (max-width: 767px) {
  .map-filter-backdrop {
    position: absolute;
    inset: 0;
    z-index: 1250;
    background: rgba(10, 15, 30, 0.48);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
  }
  .map-filter-backdrop--visible {
    opacity: 1;
    pointer-events: auto;
  }
}

@media (min-width: 768px) {
  .map-filter-drawer {
    display: none;
  }
}
@media (max-width: 767px) {
  .map-filter-drawer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1300;
    background: #fff;
    border-radius: 24px 24px 0 0;
    box-shadow: 0 -12px 48px rgba(0, 0, 0, 0.18);
    padding: 0 20px calc(36px + env(safe-area-inset-bottom, 0px));
    max-height: 80dvh;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    transform: translateY(100%);
    transition: transform 0.42s cubic-bezier(0.32, 0.72, 0, 1);
  }
  .map-filter-drawer--open {
    transform: translateY(0);
  }
}
.map-filter-drawer__handle-bar {
  width: 36px;
  height: 4px;
  background: #e2e8f0;
  border-radius: 2px;
  margin: 12px auto 20px;
}
.map-filter-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.map-filter-drawer__title {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.3px;
}
.map-filter-drawer__close {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: #f9fafb;
  color: #9ca3af;
  font-size: 0.88rem;
  cursor: pointer;
  transition: all 0.15s ease;
}
.map-filter-drawer__close:hover {
  background: #e2e8f0;
  color: #374151;
}
.map-filter-drawer__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 16px;
}
.map-filter-drawer__done {
  display: block;
  width: 100%;
  padding: 15px;
  border-radius: 16px;
  border: none;
  background: linear-gradient(135deg, #E8850A, #F5A623);
  color: #fff;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(232, 133, 10, 0.28);
  transition: all 0.2s ease;
}
.map-filter-drawer__done:active {
  transform: scale(0.98);
  box-shadow: 0 2px 8px rgba(232, 133, 10, 0.2);
}

@keyframes drawer-chip-pop {
  0% {
    opacity: 0;
    transform: translateY(14px) scale(0.88);
  }
  65% {
    opacity: 1;
    transform: translateY(-3px) scale(1.04);
  }
  100% {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}
.map-drawer-chip {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 18px 12px;
  border-radius: 18px;
  border: 1.5px solid #e8edf5;
  background: #f7f9fc;
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  color: #4B5563;
  cursor: pointer;
  min-height: 88px;
  text-align: center;
  line-height: 1.3;
  transition: background 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}
.map-drawer-chip:last-child:nth-child(odd) {
  grid-column: 1/-1;
}
.map-drawer-chip > i {
  font-size: 1.4rem;
  color: #9ca3af;
  transition: color 0.18s ease;
  display: block;
}
.map-drawer-chip:active {
  transform: scale(0.96);
}
.map-drawer-chip--active {
  background: linear-gradient(135deg, #E8850A, #F5A623);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 6px 20px rgba(232, 133, 10, 0.32);
}
.map-drawer-chip--active > i {
  color: rgba(255, 255, 255, 0.9);
}

.map-filter-drawer--animating .map-drawer-chip:nth-child(1) {
  animation: drawer-chip-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 0.04s backwards;
}
.map-filter-drawer--animating .map-drawer-chip:nth-child(2) {
  animation: drawer-chip-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 0.1s backwards;
}
.map-filter-drawer--animating .map-drawer-chip:nth-child(3) {
  animation: drawer-chip-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 0.16s backwards;
}
.map-filter-drawer--animating .map-drawer-chip:nth-child(4) {
  animation: drawer-chip-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 0.22s backwards;
}
.map-filter-drawer--animating .map-drawer-chip:nth-child(5) {
  animation: drawer-chip-pop 0.42s cubic-bezier(0.34, 1.56, 0.64, 1) 0.28s backwards;
}

.photo-placeholder {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #fdf6ec 0%, #fbe9c8 55%, #f5d49a 100%);
  color: #C2710A;
  user-select: none;
}
.photo-placeholder__pattern {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  color: #E8850A;
  pointer-events: none;
}
.photo-placeholder__inner {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 12px;
  text-align: center;
}
.photo-placeholder__icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(194, 113, 10, 0.18);
}
.photo-placeholder__icon i {
  font-size: 22px;
  color: #C2710A;
}
.photo-placeholder__label {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #C2710A;
  opacity: 0.85;
}
.photo-placeholder--hero {
  position: relative;
  inset: auto;
  min-height: 320px;
  border-radius: 16px;
}
.photo-placeholder--hero .photo-placeholder__icon {
  width: 84px;
  height: 84px;
}
.photo-placeholder--hero .photo-placeholder__icon i {
  font-size: 34px;
}
.photo-placeholder--hero .photo-placeholder__label {
  font-size: 1rem;
}
.photo-placeholder--thumb .photo-placeholder__icon {
  width: 40px;
  height: 40px;
}
.photo-placeholder--thumb .photo-placeholder__icon i {
  font-size: 16px;
}
.photo-placeholder--thumb .photo-placeholder__label {
  font-size: 0.7rem;
}

/*# sourceMappingURL=map.output.css.map */
