.fdq-location {
  text-align: center;
  line-height: 1.2;
}
.fdq-location__logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}
.fdq-location__logo {
  display: block;
  max-width: 100%;
  width: auto;
  height: auto;
}
.fdq-location__context {
  margin-top: .45rem;
  font-size: 1.05rem;
  font-weight: 700;
}
.fdq-location__prefix {
  margin-right: .25em;
  font-weight: 400;
}

.fdq-location__activate {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-decoration: underline;
  text-underline-offset: .16em;
  cursor: pointer;
}
.fdq-location__activate:hover,
.fdq-location__activate:focus-visible {
  text-decoration-thickness: 2px;
}
.fdq-location__activate:disabled {
  opacity: .6;
  cursor: wait;
}
.fdq-location__button {
  margin-top: .45rem;
  padding: .45rem .8rem;
  border: 1px solid currentColor;
  border-radius: 999px;
  background: transparent;
  color: inherit;
  font: inherit;
  cursor: pointer;
}
.fdq-location__button:disabled {
  opacity: .55;
  cursor: wait;
}
.fdq-location__status {
  display: block;
  min-height: 1em;
  margin-top: .25rem;
  font-size: .8rem;
  opacity: .7;
}

.fdq-location__debug {
  margin-top: .75rem;
  padding: .65rem .75rem;
  border: 1px dashed currentColor;
  border-radius: .4rem;
  font-size: .78rem;
  line-height: 1.45;
  opacity: .85;
  text-align: left;
}
.fdq-location__debug-title {
  font-weight: 700;
  margin-bottom: .25rem;
}
.fdq-location__debug-row[data-state="ok"]::before { content: "✓ "; }
.fdq-location__debug-row[data-state="error"]::before { content: "⚠ "; }

/* v1.5 – optional geolocation invitation popup */
.fdq-location__status {
  display: none;
}
html.fdq-location-popup-open,
html.fdq-location-popup-open body {
  overflow: hidden;
}
.fdq-location__modal[hidden] {
  display: none !important;
}
.fdq-location__modal {
  position: fixed;
  inset: 0;
  z-index: 100000;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}
.fdq-location__modal-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, .52);
  cursor: default;
}
.fdq-location__modal-card {
  position: relative;
  z-index: 1;
  width: min(92vw, 430px);
  padding: 1.7rem 1.6rem 1.45rem;
  border-radius: 18px;
  background: #fff;
  color: #202020;
  box-shadow: 0 18px 60px rgba(0, 0, 0, .28);
  text-align: center;
}
.fdq-location__modal-close {
  position: absolute;
  top: .55rem;
  right: .7rem;
  width: 2rem;
  height: 2rem;
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  opacity: .55;
  cursor: pointer;
}
.fdq-location__modal-icon {
  width: 2.75rem;
  height: 2.75rem;
  margin: 0 auto .8rem;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 1.5rem;
  opacity: .72;
}
.fdq-location__modal-title {
  margin: 0 1rem .7rem;
  font-size: 1.3rem;
  line-height: 1.25;
  text-align: center;
  color: #202020;
}
.fdq-location__modal-text,
.fdq-location__modal-blocked {
  margin: 0 0 1.15rem;
  font-size: .98rem;
  line-height: 1.5;
  opacity: .82;
}
.fdq-location__modal-blocked {
  font-size: .92rem;
}
.fdq-location__modal-actions {
  display: flex;
  gap: .65rem;
  justify-content: center;
  flex-wrap: wrap;
}
.fdq-location__modal-primary,
.fdq-location__modal-secondary {
  min-height: 2.7rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.fdq-location__modal-primary {
  border: 1px solid #202020;
  background: #202020;
  color: #fff;
}
.fdq-location__modal-secondary {
  border: 1px solid rgba(0,0,0,.18);
  background: transparent;
  color: inherit;
}
.fdq-location__modal-primary:disabled {
  opacity: .55;
  cursor: wait;
}
@media (max-width: 480px) {
  .fdq-location__modal-card {
    padding: 1.55rem 1.15rem 1.2rem;
  }
  .fdq-location__modal-actions {
    flex-direction: column;
  }
  .fdq-location__modal-primary,
  .fdq-location__modal-secondary {
    width: 100%;
  }
}
