.address-map {
  display: block;
  text-decoration: none;
}

.address-map__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
}

.address-map__button,
.js-address-map-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  width: fit-content;
  text-decoration: none;
}

.address-map__button:hover,
.address-map__button:focus,
.js-address-map-trigger:hover,
.js-address-map-trigger:focus {
  text-decoration: none;
}

/* Arkusz wyboru map */

.map-choice-open {
  overflow: hidden;
}

.map-choice {
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.map-choice__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
}

.map-choice__panel {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1rem;
  background: #fff;
  border-radius: 1rem 1rem 0 0;
  box-shadow: 0 -0.5rem 2rem rgba(0, 0, 0, 0.2);
  display: grid;
  gap: 0.5rem;
}

.map-choice__title {
  margin: 0 0 0.5rem;
  font-weight: 600;
}

.map-choice__option,
.map-choice__cancel {
  display: block;
  width: 100%;
  padding: 0.875rem 1rem;
  border: 0;
  border-radius: 0.75rem;
  background: #f2f2f2;
  color: inherit;
  text-align: center;
  text-decoration: none;
  font: inherit;
  cursor: pointer;
}

.map-choice__option:hover,
.map-choice__option:focus,
.map-choice__cancel:hover,
.map-choice__cancel:focus {
  text-decoration: none;
  background: #e9e9e9;
}

.map-choice__cancel {
  margin-top: 0.25rem;
  background: transparent;
}