.sm-map-consent {
  display: grid;
  grid-template-columns: minmax(0, 520px);
  flex: 1 1 auto;
  place-content: center;
  padding: clamp(12px, 4vw, 36px);
  background: #f7f2ef;
  color: #2d2d2e;
  min-width: 0;
}

.sm-map-consent:not([data-state="allowed"]) {
  background-image: url("staymapp-map-placeholder.webp");
  background-position: center;
  background-size: cover;
}

.sm-map-consent [hidden] {
  display: none !important;
}

.sm-map-consent-card {
  width: min(100%, 520px);
  padding: clamp(16px, 4vw, 24px);
  border: 1px solid #e4b19f;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 12px 32px rgb(45 45 46 / 12%);
  text-align: center;
}

.sm-map-consent-card > strong {
  font-size: 17px;
  line-height: 1.35;
}

.sm-map-consent p {
  margin: 8px 0;
  padding: 0;
  font-size: 13px;
  line-height: 1.5;
}

.sm-map-consent-choices {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 12px 0 6px;
}

.sm-map-consent-choices button {
  flex: 1 0 145px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px;
  border: 1px solid #a3543d;
  border-radius: 9px;
  background: #fff;
  color: #773a29;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.sm-map-consent-choices button:hover:not(:disabled) {
  background: #f8eee9;
}

.sm-map-consent-choices button:disabled {
  opacity: .6;
  cursor: default;
}

.sm-map-consent a,
.sm-map-consent-revoke {
  color: #773a29;
  font-size: 12px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sm-map-consent[data-state="allowed"] {
  display: block;
  flex: none;
  padding: 0 10px;
  background: #fff;
  text-align: right;
}

.sm-map-consent-revoke {
  min-height: 32px;
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.sm-map-consent :is(a, button):focus-visible {
  outline: 2px solid #994931;
  outline-offset: 2px;
}

.sm-map-consent p.sm-map-consent-status {
  margin: 0;
  color: #773a29;
}
