.df-delivery-calculator {
  position: relative;
  margin: 0;
}

.df-delivery-label {
  display: block;
  margin-bottom: 8px;
  color: #665d6d;
}

.df-delivery-input-wrap {
  position: relative;
  max-width: 480px;
}

.df-delivery-input {
  width: 100%;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #d9d5df;
  font: inherit;
}

.df-delivery-suggestions {
  position: absolute;
  z-index: 20;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background: #fff;
  border: 1px solid #d9d5df;
  box-shadow: 0 6px 18px rgba(0, 0, 0, .12);
}

.df-delivery-suggestions button {
  display: block;
  width: 100%;
  padding: 10px 14px;
  border: 0;
  background: #fff;
  text-align: left;
  font: inherit;
  cursor: pointer;
}

.df-delivery-suggestions button:hover,
.df-delivery-suggestions button:focus {
  background: #f3eff5;
}

.df-delivery-status {
  margin: 12px 0;
  color: #665d6d;
}

.df-delivery-result {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin: 12px 0 18px;
  color: #4b3c5d;
}

.df-delivery-result[hidden],
.df-delivery-suggestions[hidden] {
  display: none;
}

.df-delivery-map {
  width: 100%;
  height: 470px;
  background: #f4f4f4;
}

@media (max-width: 600px) {
  .df-delivery-map { height: 320px; }
}

/* Geometry from delivery.html; labels remain available to assistive tools. */
.df-delivery-label { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.df-delivery-input-wrap { max-width: 384px; margin-bottom: 1.6em; }
.df-delivery-input { min-height: 44px; padding: 10px 7px; }
.df-delivery-input::placeholder { color: #b6b9cd; opacity: 1; }
.df-delivery-status:empty { display: none; }
.df-delivery-map { height: 472px; background: transparent; }
@media (max-width: 767px) { .df-delivery-map { height: 350px; } }

/* Separate geography copy from the calculator map on the delivery page. */
.delivery-section > div:has(> .df-delivery-calculator) + .delivery-section_text { padding-top: 40px; }
@media (max-width: 767px) {
  .delivery-section > div:has(> .df-delivery-calculator) + .delivery-section_text { padding-top: 24px; }
}
