.go4-cookie-banner[hidden],
.go4-cookie-preferences[hidden] {
  display: none !important;
}

.go4-cookie-banner {
  position: fixed;
  z-index: 11000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  max-width: 1180px;
  max-height: calc(100vh - 2rem);
  margin: 0 auto;
  overflow-y: auto;
  color: var(--dark);
  background: #fff;
  border: 1px solid #d8dedb;
  border-top: 5px solid var(--primary);
  border-radius: 14px;
  box-shadow: 0 18px 55px rgba(0, 0, 0, .28);
}

.go4-cookie-banner__inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  padding: 1.4rem 3.5rem 1.4rem 1.5rem;
  align-items: center;
}

.go4-cookie-banner h2,
.go4-cookie-dialog h2 {
  margin: 0 0 .55rem;
  color: var(--dark);
  font-size: 1.35rem;
}

.go4-cookie-banner p,
.go4-cookie-dialog p {
  margin: 0;
}

.go4-cookie-banner a,
.go4-cookie-dialog a {
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.go4-cookie-close {
  position: absolute;
  top: .65rem;
  right: .65rem;
  display: inline-flex;
  width: 44px;
  height: 44px;
  padding: 0;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 50%;
  font-size: 1.55rem;
  line-height: 1;
}

.go4-cookie-actions {
  display: flex;
  gap: .65rem;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.go4-cookie-choice,
.go4-cookie-secondary {
  min-height: 44px;
  padding: .65rem 1rem;
  border-radius: 7px;
  font-weight: 700;
}

.go4-cookie-choice {
  min-width: 118px;
  color: #fff;
  background: var(--dark);
  border: 2px solid var(--dark);
}

.go4-cookie-choice:hover,
.go4-cookie-choice:focus {
  color: var(--dark);
  background: var(--primary);
  border-color: var(--primary);
}

.go4-cookie-secondary {
  color: var(--dark);
  background: #fff;
  border: 2px solid var(--dark);
}

.go4-cookie-secondary:hover,
.go4-cookie-secondary:focus {
  color: var(--dark);
  background: #edf1ef;
}

.go4-cookie-choice:focus-visible,
.go4-cookie-secondary:focus-visible,
.go4-cookie-close:focus-visible,
.cookie-settings-link:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 3px;
}

.cookie-settings-link {
  display: block;
  width: auto;
  padding: 0;
  color: #d7dfda;
  text-align: left;
  text-decoration: none;
}

.cookie-settings-link:hover,
.cookie-settings-link:focus {
  color: #fff;
  text-decoration: underline;
}

.go4-cookie-preferences {
  position: fixed;
  z-index: 11010;
  inset: 0;
  display: flex;
  padding: 1rem;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, .66);
}

.go4-cookie-dialog {
  position: relative;
  width: min(680px, 100%);
  max-height: calc(100vh - 2rem);
  padding: 1.6rem;
  overflow-y: auto;
  color: var(--dark);
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 20px 65px rgba(0, 0, 0, .34);
}

.go4-cookie-dialog__intro {
  padding-right: 2.5rem;
  margin-bottom: 1.25rem;
}

.go4-cookie-category {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1rem;
  padding: 1rem 0;
  align-items: center;
  border-top: 1px solid #dfe6e1;
}

.go4-cookie-category strong {
  display: block;
  margin-bottom: .25rem;
}

.go4-cookie-category input {
  width: 24px;
  height: 24px;
  accent-color: var(--dark);
}

.go4-cookie-category input:disabled {
  opacity: 1;
}

.go4-cookie-dialog .go4-cookie-actions {
  padding-top: 1.2rem;
  border-top: 1px solid #dfe6e1;
}

body.cookie-preferences-open {
  overflow: hidden;
}

@media (max-width: 767.98px) {
  .go4-cookie-banner__inner {
    grid-template-columns: 1fr;
    padding: 1.2rem 1.2rem 1.3rem;
  }

  .go4-cookie-banner__content {
    padding-right: 2.25rem;
  }

  .go4-cookie-actions {
    justify-content: stretch;
  }

  .go4-cookie-actions .go4-cookie-choice,
  .go4-cookie-actions .go4-cookie-secondary {
    flex: 1 1 140px;
  }
}

@media (max-width: 420px) {
  .go4-cookie-banner {
    right: .5rem;
    bottom: .5rem;
    left: .5rem;
    max-height: calc(100vh - 1rem);
  }

  .go4-cookie-dialog {
    padding: 1.2rem;
  }

  .go4-cookie-actions {
    flex-direction: column;
  }

  .go4-cookie-actions .go4-cookie-choice,
  .go4-cookie-actions .go4-cookie-secondary {
    width: 100%;
    flex-basis: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .go4-cookie-banner,
  .go4-cookie-preferences {
    scroll-behavior: auto;
  }
}

.privacy-summary {
  padding: 1rem 1.2rem;
  margin-bottom: 1rem;
  background: var(--light);
  border-left: 4px solid var(--primary);
}

.privacy-summary h3 {
  margin-bottom: .5rem;
  color: var(--dark);
  font-size: 1.15rem;
}

.privacy-summary p {
  margin-bottom: .5rem;
}

.privacy-summary a,
.privacy-document a {
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.privacy-document {
  max-width: 920px;
}

.privacy-document h2 {
  margin-top: 2rem;
  color: var(--dark);
  font-size: 1.45rem;
}

.privacy-document li + li {
  margin-top: .55rem;
}

.privacy-document address {
  font-style: normal;
}

.privacy-document .privacy-note {
  padding: 1rem 1.2rem;
  background: var(--light);
  border-left: 4px solid var(--primary);
}

.map-consent {
  display: flex;
  min-height: 450px;
  padding: 2rem;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--light);
  border: 1px solid #dee2e6;
}

.map-consent__content {
  max-width: 520px;
}

.map-consent__map {
  position: relative;
  min-height: 450px;
  overflow: hidden;
}

.google-map-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 450px;
  border: 0;
}

.map-consent__map--fixed .google-map-frame {
  pointer-events: none;
}

.map-location-pin {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  color: var(--dark);
  pointer-events: none;
}

.map-location-pin::after {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 0;
  height: 0;
  content: "";
  transform: translateX(-50%);
  border-top: 18px solid var(--primary);
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
  filter: drop-shadow(0 .18rem .12rem rgba(0, 0, 0, .25));
}

.map-location-pin__logo {
  position: absolute;
  bottom: 18px;
  left: 50%;
  display: flex;
  width: 76px;
  height: 76px;
  padding: .3rem;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 4px solid var(--primary);
  border-radius: 50%;
  box-shadow: 0 .35rem 1rem rgba(0, 0, 0, .3);
  transform: translateX(-50%);
}

.map-location-pin__logo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.map-location-pin__text {
  position: absolute;
  top: 14px;
  left: 50%;
  display: flex;
  width: max-content;
  max-width: min(330px, calc(100vw - 3rem));
  padding: .5rem .75rem;
  flex-direction: column;
  text-align: center;
  line-height: 1.25;
  background: rgba(255, 255, 255, .97);
  border: 2px solid var(--primary);
  border-radius: .65rem;
  box-shadow: 0 .3rem .8rem rgba(0, 0, 0, .22);
  transform: translateX(-50%);
}

.map-location-pin__text strong {
  font-family: "Poppins", sans-serif;
  font-size: .92rem;
}

.map-location-pin__text small {
  margin-top: .2rem;
  font-size: .78rem;
}

.map-location-pin__text i {
  color: var(--primary);
}

.map-location-open {
  position: absolute;
  z-index: 3;
  right: .75rem;
  bottom: .75rem;
  padding: .55rem .75rem;
  color: #fff;
  font-size: .82rem;
  font-weight: 600;
  background: var(--primary);
  border-radius: .4rem;
  box-shadow: 0 .25rem .65rem rgba(0, 0, 0, .25);
}

.map-location-open:hover,
.map-location-open:focus {
  color: #fff;
  background: var(--dark);
}

@media (max-width: 575.98px) {
  .map-location-pin__logo {
    width: 64px;
    height: 64px;
  }

  .map-location-pin__text {
    max-width: calc(100vw - 4rem);
    padding: .45rem .6rem;
  }

  .map-location-pin__text strong {
    font-size: .82rem;
  }

  .map-location-pin__text small {
    font-size: .72rem;
  }

  .map-location-open {
    right: .5rem;
    bottom: .5rem;
    padding: .45rem .6rem;
    font-size: .75rem;
  }
}
