/* ==== БАЗА ==== */
#greenfield-map,
#greenfield-map .map-container,
#greenfield-map svg {
  display: block;
  width: 100%;
  height: auto;
  min-height: 300px;
  overflow: visible;
}

/* ==== ИНФОБЛОК + КОРЗИНА ==== */
#greenfield-map .info-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 15px;
  gap: 20px;
}

#greenfield-map .info,
#greenfield-map .areas-cart {
  flex: 1;
  font-size: 14px;
  line-height: 1.4;
}

/* ==== КНОПКИ ==== */
#greenfield-map button {
  background: #28a737;
  color: #fff;
  border: none;
  padding: 10px 16px;
  font-size: 14px;
  border-radius: 4px;
  cursor: pointer;
  transition: background .2s;
}

#greenfield-map button:hover:not(:disabled) {
  background: #20872b;
}

#greenfield-map button:disabled {
  background: #ccc;
  cursor: not-allowed;
}

/* ==== INFO BLOCK ==== */
#greenfield-map .info {
  background: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
  transition: background .2s, border-color .2s;
  text-align: left;
}



#greenfield-map .map-container {
  width: 100%;
  max-width: 1400px; /* ограничение, чтобы карта не была огромной */
  margin: 0 auto;
}

#greenfield-map .map-container svg {
  width: 100%;
  height: auto;
  display: block;
}

/* Контейнер кнопок зума */
.map-zoom-controls {
  position: absolute;       /* внутри карты */
  bottom: 286px;             /* прижаты вниз */
  right: 16px;              /* и вправо */
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10;
}

/* Кнопки */
.map-zoom-controls button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: #fff;
  font-size: 22px;
  font-weight: bold;
  color: #333;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  cursor: pointer;
  transition: background 0.2s ease;
}

/* Ховер и тап */
.map-zoom-controls button:hover,
.map-zoom-controls button:active {
  background: #f3f3f3;
}

/* Прячем на десктопе */
@media (min-width: 1024px) {
  .map-zoom-controls {
    display: none;
  }
}

/* Кнопка сброса */
.areas-cart .reset {
  margin-top: 6px;   /* отступ сверху */
  padding: 10px 16px; /* внутренний отступ */
  background: #eee;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.areas-cart .reset:hover {
  background: #ddd;
}
