.cookie-consent {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2100;
  display: flex;
  align-items: center;
  gap: 2rem;
  box-sizing: border-box;
  min-height: 5.25rem;
  padding: 1rem 2rem;
  background: #fffff0;
  color: #4d4d4d;
  box-shadow: 0 -0.35rem 1rem rgba(0, 0, 0, 0.12);
}
.cookie-consent-copy {
  flex: 1 1 0;
  min-width: 0;
}
.cookie-consent-copy strong {
  display: none;
}
.cookie-consent-copy p {
  margin: 0;
  max-width: 50rem;
  font-size: 0.95rem;
  line-height: 1.2;
}
.cookie-consent-copy a {
  color: inherit;
  font-weight: 800;
  text-decoration: none;
}
.cookie-consent-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.2rem;
  flex: 0 0 auto;
}
.cookie-consent-actions button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 7.2rem;
  border: 2px solid #4d4d4d;
  border-radius: 999px;
  padding: 0.55rem 1rem;
  background: transparent;
  color: #4d4d4d;
  cursor: pointer;
  font: inherit;
  font-size: 0.95rem;
  font-weight: 700;
  white-space: nowrap;
}
.cookie-consent-accept {
  background: #6cb7e6 !important;
  border-color: #6cb7e6 !important;
  color: #fffff0 !important;
}
.cookie-preferences {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.72);
}
.cookie-preferences[hidden] {
  display: none;
}
.cookie-preferences-panel {
  position: relative;
  width: min(100%, 50rem);
  box-sizing: border-box;
  padding: 2.2rem 4rem 2.2rem;
  border-radius: 3.5rem;
  background: #fffff0;
  color: #4d4d4d;
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.22);
}
.cookie-preferences-close {
  position: absolute;
  top: 1.5rem;
  right: 2.2rem;
  border: 0;
  background: transparent;
  color: #4d4d4d;
  cursor: pointer;
  font: inherit;
  font-size: 1.8rem;
  line-height: 1;
}
.cookie-preferences-title {
  margin: 0 0 0.75rem;
  font-family: "Eczar", serif;
  font-size: 2rem;
  line-height: 1.1;
}
.cookie-preferences-text {
  max-width: 38rem;
  margin: 0 0 2.1rem;
  line-height: 1.35;
}
.cookie-preference-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin: 1.1rem 0;
  font-size: 1.1rem;
}
.cookie-toggle {
  position: relative;
  display: inline-block;
  width: 3.4rem;
  height: 1.55rem;
  flex: 0 0 auto;
}
.cookie-toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.cookie-toggle span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c9c9c9;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.cookie-toggle span::after {
  position: absolute;
  top: 0.18rem;
  left: 0.2rem;
  width: 1.15rem;
  height: 1.15rem;
  border-radius: 50%;
  background: #fffff0;
  content: "";
  transition: transform 0.2s ease;
}
.cookie-toggle input:checked + span {
  background: #6cb7e6;
}
.cookie-toggle input:checked + span::after {
  transform: translateX(1.85rem);
}
.cookie-toggle input:disabled + span {
  background: #888888;
  cursor: not-allowed;
}
.cookie-preferences-confirm {
  display: block;
  min-width: 9rem;
  margin: 2rem 0 0 auto;
  border: 0;
  border-radius: 999px;
  padding: 0.7rem 1.6rem;
  background: #6cb7e6;
  color: #fffff0;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}
.location-map {
  position: relative;
}
.map-consent-message {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 2rem;
  background: #1c1c1c;
  color: #fffff0;
  text-align: center;
}
@media (max-width: 700px) {
  .cookie-consent {
    display: block;
    padding: 1rem;
  }
  .cookie-consent-actions {
    flex-wrap: wrap;
    margin-top: 1rem;
    justify-content: flex-start;
    gap: 0.65rem;
  }
  .cookie-consent button,
  .cookie-consent-actions button {
    min-width: 0;
    flex: 1 1 8rem;
  }
  .cookie-preferences-panel {
    padding: 1.8rem 1.5rem 1.5rem;
    border-radius: 2rem;
  }
  .cookie-preferences-title {
    font-size: 1.6rem;
  }
  .cookie-preferences-close {
    top: 1.2rem;
    right: 1.35rem;
  }
  .cookie-preference-row {
    font-size: 1rem;
  }
}