.delivery-popup {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  padding: 16px;
}
.delivery-popup.hidden {
  display: none !important;
}
.delivery-popup__inner {
  background: #fff;
  border-radius: 12px;
  max-width: 400px;
  width: 100%;
  padding: 24px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}
.delivery-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 600;
}
.delivery-subtitle {
  margin: 0 0 16px;
  font-size: 14px;
  color: #555;
}
.delivery-btn {
  display: block;
  width: 100%;
  padding: 12px 0;
  font-size: 15px;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  border: none;
}
.delivery-btn--primary {
  background-color: #4CAF50;
  color: #fff;
}
.delivery-btn--secondary {
  background-color: #f0f0f0;
  color: #333;
}
.delivery-login {
  font-size: 13px;
}
.delivery-login a {
  color: #007bff;
  text-decoration: none;
}
.delivery-input {
  width: 100%;
  padding: 8px;
  margin: 8px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 14px;
}
.delivery-map {
  width: 100%;
  height: 250px;
  margin-bottom: 16px;
}
.popup-close {
  position: absolute;
  top: 8px; right: 8px;
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
}


/* контейнер попапа уже position: relative */
.delivery-popup__inner {
  position: relative;
}

/* подсказки сразу под полем ввода, по полной ширине поля */
#address-suggestions {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;       /* выравнивание по левому краю поля */
  width: 100%;   /* подгоняем под ширину поля */
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  z-index: 1001;
}

#address-suggestions li {
  padding: 8px;
  cursor: pointer;
}
#address-suggestions li:hover {
  background: #eee;
}


