.geolocation-popup {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.6rem;
  opacity: 0;
  transition: opacity 0.2s ease;
}
.geolocation-popup[hidden] {
  display: none;
}
.geolocation-popup.is-open {
  opacity: 1;
}
.geolocation-popup__overlay {
  position: absolute;
  inset: 0;
  background: rgba(17, 36, 21, 0.5);
}
.geolocation-popup__dialog {
  position: relative;
  width: 100%;
  max-width: 50rem;
  max-height: calc(100vh - 3.2rem);
  overflow-y: auto;
  padding: 2.4rem;
  border-radius: 1.6rem;
  background: var(--c-sand, #f8f8f4);
  color: var(--c-forest, #1a3720);
  font-family: var(--ff-primary);
}
.geolocation-popup__close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  display: flex;
  padding: 0.4rem;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.geolocation-popup__close svg {
  width: 1.8rem;
  height: 1.8rem;
}
.geolocation-popup__flag {
  display: block;
  width: 5.6rem;
  height: auto;
  margin: 0 auto 2.2rem;
}
.geolocation-popup__title {
  margin: 0 0 1rem;
  font-family: var(--ff-heading);
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  letter-spacing: -0.01em;
  font-synthesis: none;
}
.geolocation-popup__subtitle {
  margin: 0 0 1rem;
  font-size: 1.6rem;
  line-height: 1.4;
}
.geolocation-popup__text {
  margin: 0 0 1rem;
  font-size: 1.2rem;
  line-height: 1.5;
}
.geolocation-popup__selects {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}
@media screen and (max-width: 768px) {
  .geolocation-popup__selects {
    grid-template-columns: 1fr;
  }
}
.geolocation-popup__select {
  width: 100%;
  height: 4.6rem;
  padding: 0 4.4rem 0 1.8rem;
  border: 0.1rem solid var(--c-forest, #1a3720);
  border-radius: 0.6rem;
  background: var(--color-white, #fff) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='10' viewBox='0 0 16 10'%3E%3Cpath d='M1.5 1.5 8 8l6.5-6.5' fill='none' stroke='%231A3720' stroke-width='2.4'/%3E%3C/svg%3E") no-repeat right 1.8rem center;
  color: var(--c-forest, #1a3720);
  font: inherit;
  font-size: 1.4rem;
  appearance: none;
  cursor: pointer;
}
.geolocation-popup__actions {
  display: flex;
  justify-content: flex-end;
}
@media screen and (max-width: 768px) {
  .geolocation-popup__submit {
    width: 100%;
    justify-content: center;
  }
}
