/* Site / marketing pages places autocomplete */

.places-suggestion-list {
  animation: select-in 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.places-suggestion-list--site {
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid rgba(197, 160, 89, 0.22);
  background: linear-gradient(180deg, #ffffff 0%, #fdfbf7 100%);
  box-shadow:
    0 4px 8px rgba(5, 10, 24, 0.04),
    0 20px 48px rgba(5, 10, 24, 0.16),
    0 0 0 1px rgba(255, 255, 255, 0.95);
}

.places-suggestion-list--site .places-suggestion-list__items {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 15rem;
  overflow-y: auto;
  padding: 8px;
}

.places-suggestion-list--site .places-suggestion-list__option {
  display: flex;
  width: 100%;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  border: 0;
  border-radius: 10px;
  padding: 8px 10px;
  text-align: left;
  color: #0f1219;
  background: transparent;
  cursor: pointer;
  transition: background 0.18s ease, color 0.18s ease;
}

.places-suggestion-list--site .places-suggestion-list__option:hover,
.places-suggestion-list--site .places-suggestion-list__option--active {
  background: linear-gradient(135deg, #fbf6ec 0%, #f3e8d0 100%);
  color: #0f1219;
}

.places-suggestion-list--site .places-suggestion-list__icon {
  display: flex;
  width: 28px;
  height: 28px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  border: 1px solid #e4e2dc;
  background: #fff;
  color: #c5a059;
}

.places-suggestion-list--site .places-suggestion-list__primary {
  color: #0f1219;
}

.places-suggestion-list--site .places-suggestion-list__secondary {
  color: #5e5e6a;
}

.places-suggestion-list--site .places-suggestion-list__mark {
  color: var(--gold-600);
}

.places-suggestion-list--site .places-suggestion-list__footer {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  border-top: 1px solid #ebe7df;
  background: #faf8f4;
  padding: 8px 12px;
}

.places-suggestion-list--site .places-suggestion-list__footer-label {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #888894;
}

.places-suggestion-list--site .places-suggestion-list__footer-brand {
  font-size: 0.75rem;
  font-weight: 600;
  color: #5e5e6a;
}

.become-vendor-form-card .checkout-field {
  min-width: 0;
}

.site-places-autocomplete__control {
  position: relative;
}

.checkout-account-form .site-places-autocomplete__input {
  width: 100%;
}

.checkout-account-form .site-places-autocomplete__input--with-clear {
  padding-right: 2.75rem !important;
}

.checkout-account-form .site-places-autocomplete__input--with-loader {
  padding-right: 2.75rem !important;
}

.site-places-autocomplete__actions {
  position: absolute;
  top: 50%;
  right: 10px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  transform: translateY(-50%);
  pointer-events: none;
}

.site-places-autocomplete__loader {
  color: #888894;
}

.site-places-autocomplete__clear {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #6b7280;
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.15s ease, color 0.15s ease;
}

.site-places-autocomplete__clear:hover {
  background: #f3f4f6;
  color: #111827;
}
