/* MERARY checkout — Yandex address suggest (scoped) */
.mc-address-field {
  --mc-pink: #f23f6d;
  --mc-green: #42a870;
  --mc-danger: #d95568;
  --mc-muted: #8b817e;
  position: relative;
  grid-column: 1 / -1;
}
.mc-address-field > label {
  display: block;
  margin-bottom: 7px;
  font-size: 13px;
}
.mc-address-field b { color: var(--mc-pink); }
.mc-address-input-wrap { position: relative; }
.mc-address-field input[type="text"] {
  width: 100%;
  height: 48px;
  border: 1px solid #eadfd9;
  border-radius: 10px;
  background: #fff;
  padding: 12px 14px;
  font: 14px inherit;
  outline: none;
  transition: .2s;
  box-sizing: border-box;
}
.mc-address-field input:focus {
  border-color: #efa1b1;
  box-shadow: 0 0 0 3px rgba(242, 63, 109, .07);
}
.mc-address-field.confirmed input { padding-right: 125px; border-color: #abd9bc; }
.mc-address-field.invalid input { border-color: #e67686; }
.mc-address-field.disabled input {
  background: #f8f5f4;
  color: #a39a97;
  cursor: not-allowed;
}
.mc-address-status {
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  pointer-events: none;
  color: var(--mc-green);
}
.mc-address-field.confirmed .mc-address-status::before { content: none; }
.mc-address-loading {
  position: absolute;
  right: 15px;
  top: 15px;
  width: 18px;
  height: 18px;
  border: 2px solid #f4ccd5;
  border-top-color: var(--mc-pink);
  border-radius: 50%;
  animation: mcAddrSpin .7s linear infinite;
}
@keyframes mcAddrSpin { to { transform: rotate(360deg); } }
.mc-address-suggestions {
  position: absolute;
  z-index: 80;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  max-height: 310px;
  overflow-y: auto;
  border: 1px solid #ead8dc;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(86, 55, 62, .14);
  padding: 6px;
}
.mc-address-suggestion {
  display: block;
  width: 100%;
  padding: 11px 12px;
  border: 0;
  border-radius: 9px;
  background: #fff;
  text-align: left;
  cursor: pointer;
  color: #292321;
  font: inherit;
}
.mc-address-suggestion:hover,
.mc-address-suggestion.is-active { background: #fff2f5; }
.mc-address-suggestion strong {
  display: block;
  font-size: 13px;
  font-weight: 500;
}
.mc-address-suggestion small {
  display: block;
  margin-top: 4px;
  color: #9c9491;
  font-size: 11px;
}
.mc-address-help {
  display: block;
  margin-top: 7px;
  color: #aaa19f;
  font-size: 11px;
  line-height: 1.35;
}
.mc-address-field.confirmed .mc-address-help { color: #5aa978; }
.mc-address-field .mc-error {
  display: none;
  margin-top: 6px;
  color: var(--mc-danger);
  font-size: 12px;
}
.mc-address-field.invalid .mc-error { display: block; }
.mc-address-ask {
  display: flex;
  gap: 8px;
  align-items: center;
  margin-top: 10px;
  font-size: 13px;
  color: #5a524f;
}
.mc-address-ask input { accent-color: var(--mc-pink); width: auto; }
@media (max-width: 680px) {
  .mc-address-field.confirmed input { padding-right: 14px; }
  .mc-address-field.confirmed .mc-address-status { display: none; }
}
