.z-cookie-locked {
  overflow: hidden;
}

.z-cookie-layer[hidden],
.z-cookie-layer [hidden] {
  display: none !important;
}

.z-cookie-layer {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  align-items: end;
  justify-items: center;
  padding: 24px;
  font-family: var(--z-ui-font, "Segoe UI", Arial, sans-serif);
}

.z-cookie-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 9, 11, 0.7);
  backdrop-filter: blur(5px);
}

.z-cookie-dialog {
  position: relative;
  width: min(100%, 760px);
  max-height: calc(100vh - 48px);
  overflow: auto;
  color: #171a1d;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(2, 12, 11, 0.34);
  outline: none;
}

.z-cookie-head {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 26px 28px 0;
}

.z-cookie-mark {
  position: relative;
  display: grid;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  place-items: center;
  color: #081212;
  background: #f2f6f3;
  border: 1px solid #dce4df;
  border-radius: 6px;
  font-size: 25px;
  font-weight: 800;
  line-height: 1;
}

.z-cookie-mark span {
  position: absolute;
  top: 7px;
  right: 7px;
  width: 7px;
  height: 7px;
  background: var(--v2-green, #27ae60);
}

.z-cookie-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--v2-green-deep, #0f7a3c);
  font-size: 11px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.z-cookie-dialog h2 {
  margin: 0;
  color: #081212;
  font-size: 27px;
  font-weight: 680;
  line-height: 1.15;
  letter-spacing: 0;
}

.z-cookie-summary {
  padding: 18px 28px 0;
}

.z-cookie-summary p {
  margin: 0;
  color: #52605d;
  font-size: 15px;
  line-height: 1.58;
}

.z-cookie-summary .z-cookie-policy-link {
  margin-top: 10px;
}

.z-cookie-policy-link a {
  color: #0f7a3c;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.z-cookie-actions {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 10px;
  padding: 22px 28px 26px;
}

.z-cookie-button {
  min-width: 0;
  min-height: 50px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 720;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, filter 160ms ease;
}

.z-cookie-button:hover {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.z-cookie-button:focus-visible,
.z-cookie-withdraw:focus-visible {
  outline: 3px solid rgba(39, 174, 96, 0.3);
  outline-offset: 3px;
}

.z-cookie-button-dark {
  color: #ffffff;
  background: #101718;
  border-color: #101718;
}

.z-cookie-button-green {
  color: #ffffff;
  background: var(--v2-green, #27ae60);
  border-color: var(--v2-green, #27ae60);
}

.z-cookie-withdraw {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 17px;
  color: #ffffff;
  background: #101718;
  border: 1px solid #101718;
  border-radius: 6px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease;
}

.z-cookie-withdraw:hover:not(:disabled) {
  filter: brightness(0.94);
  transform: translateY(-1px);
}

.z-cookie-withdraw:disabled {
  color: #52605d;
  background: #e8edea;
  border-color: #d7dfda;
  cursor: default;
}

.cf-map-consent {
  display: grid;
  min-height: 100%;
  padding: 34px;
  place-content: center;
  justify-items: center;
  color: #17201e;
  text-align: center;
}

.cf-map-consent :is(i, svg) {
  width: 34px;
  height: 34px;
  margin-bottom: 14px;
  color: var(--v2-green, #27ae60);
  stroke-width: var(--z-icon-stroke, 1.42);
}

.cf-map-consent strong {
  font-size: 19px;
  font-weight: 680;
}

.cf-map-consent p {
  max-width: 540px;
  margin: 9px 0 18px;
  color: #65726f;
  font-size: 14px;
  line-height: 1.55;
}

.cf-map-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}

.cf-map-consent button,
.cf-map-consent a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.cf-map-consent button {
  color: #ffffff;
  background: var(--v2-green, #27ae60);
  border: 1px solid var(--v2-green, #27ae60);
  cursor: pointer;
}

.cf-map-consent a {
  color: #17201e;
  background: #ffffff;
  border: 1px solid #cdd7d1;
}

@media (max-width: 640px) {
  .z-cookie-layer {
    align-items: end;
    padding: 10px;
  }

  .z-cookie-dialog {
    max-height: calc(100dvh - 20px);
  }

  .z-cookie-head {
    gap: 12px;
    padding: 20px 18px 0;
  }

  .z-cookie-mark {
    flex-basis: 40px;
    width: 40px;
    height: 40px;
    font-size: 23px;
  }

  .z-cookie-dialog h2 {
    font-size: 22px;
  }

  .z-cookie-summary {
    padding: 15px 18px 0;
  }

  .z-cookie-summary p {
    font-size: 14px;
  }

  .z-cookie-actions {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .z-cookie-actions .z-cookie-button {
    width: 100%;
  }

  .cf-map-consent {
    padding: 24px 18px;
  }

  .cf-map-consent-actions {
    display: grid;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .z-cookie-button,
  .z-cookie-withdraw {
    transition: none;
  }
}
