[data-gkm-privacy-ui] {
  position: relative;
  z-index: 10000;
  color: #13282e;
  font-family: inherit;
}

.gkm-privacy-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(4, 16, 20, 0.76);
  backdrop-filter: blur(2px);
}

.gkm-consent-dialog,
.gkm-privacy-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 10001;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  width: min(760px, calc(100vw - 32px));
  max-height: calc(100dvh - 32px);
  overflow: hidden;
  transform: translate(-50%, -50%);
  color: #13282e;
  background: #fff;
  border: 1px solid #b9ccce;
  border-top: 4px solid #087f80;
  border-radius: 6px;
  box-shadow: 0 30px 90px rgba(0, 19, 24, 0.38);
}

.gkm-privacy-dialog {
  width: min(820px, calc(100vw - 32px));
}

.gkm-privacy-brand {
  display: flex;
  gap: 9px;
  align-items: center;
  margin-bottom: 18px;
  color: #087f80;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.gkm-privacy-brand img {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.gkm-consent-scroll,
.gkm-privacy-dialog-scroll {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: clamp(24px, 4vw, 36px);
  scrollbar-color: #88a3a6 #edf2f2;
  scrollbar-width: thin;
}

.gkm-privacy-dialog-scroll {
  padding-top: clamp(28px, 4vw, 40px);
}

.gkm-consent-dialog h2,
.gkm-privacy-dialog h2 {
  max-width: calc(100% - 44px);
  margin: 0 0 18px;
  color: #10282d !important;
  font-size: clamp(1.45rem, 2.7vw, 2rem) !important;
  line-height: 1.12;
  letter-spacing: 0;
}

.gkm-consent-scroll > p,
.gkm-privacy-intro {
  margin: 0 0 13px;
  color: #465f65;
  font-size: 0.98rem;
  line-height: 1.58;
}

.gkm-consent-choice {
  padding-top: 2px;
  font-weight: 650;
}

.gkm-privacy-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-top: 19px;
}

.gkm-privacy-links a {
  color: #087f80;
  font-weight: 750;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.gkm-consent-actions,
.gkm-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  padding: 15px clamp(24px, 4vw, 36px);
  background: #fff;
  border-top: 1px solid #d8e2e3;
  box-shadow: 0 -10px 24px rgba(12, 43, 49, 0.04);
}

.gkm-consent-button {
  min-height: 46px;
  padding: 0 18px;
  color: #075f67;
  background: transparent;
  border: 1px solid transparent;
  border-radius: 4px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  cursor: pointer;
  transition: color 160ms ease, background 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.gkm-consent-button.text:hover,
.gkm-consent-button.text:focus-visible {
  color: #064850;
  background: #edf7f6;
  border-color: #bed7d5;
}

.gkm-consent-button.primary {
  min-width: 132px;
  color: #fff;
  background: #087f80;
  border-color: #087f80;
  border-radius: 999px;
  box-shadow: 0 7px 18px rgba(8, 127, 128, 0.22);
}

.gkm-consent-button.primary:hover,
.gkm-consent-button.primary:focus-visible {
  background: #056d71;
  border-color: #056d71;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(8, 127, 128, 0.3);
}

.gkm-consent-button:focus-visible,
.gkm-privacy-close:focus-visible,
.gkm-category-toggle:focus-visible,
.gkm-privacy-switch input:focus-visible + span {
  outline: 3px solid rgba(142, 208, 45, 0.48);
  outline-offset: 2px;
}

.gkm-privacy-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  padding: 0;
  place-items: center;
  color: #173239;
  background: #f7faf9;
  border: 0;
  border-bottom: 1px solid #c8d6d7;
  border-left: 1px solid #c8d6d7;
  border-radius: 0 3px 0 0;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
}

.gkm-privacy-close:hover {
  background: #eaf3f2;
}

.gkm-privacy-category {
  margin-top: 9px;
  overflow: hidden;
  background: #fff;
  border: 1px solid #c9d7d8;
  border-radius: 4px;
}

.gkm-privacy-category:first-of-type {
  margin-top: 24px;
}

.gkm-category-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: stretch;
}

.gkm-category-toggle {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto 18px;
  gap: 14px;
  align-items: center;
  width: 100%;
  min-height: 64px;
  padding: 13px 16px;
  color: #142c33;
  text-align: left;
  background: #fff;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.gkm-category-heading .gkm-category-toggle {
  grid-template-columns: minmax(0, 1fr) 18px;
}

.gkm-category-toggle:hover {
  background: #f5f9f8;
}

.gkm-category-toggle strong,
.gkm-category-toggle small {
  display: block;
}

.gkm-category-toggle strong {
  color: #10282d;
  font-size: 1rem;
  line-height: 1.25;
}

.gkm-category-toggle small {
  margin-top: 3px;
  color: #60777c;
  font-size: 0.78rem;
  line-height: 1.35;
}

.gkm-category-toggle i {
  width: 10px;
  height: 10px;
  border-right: 2px solid #18373d;
  border-bottom: 2px solid #18373d;
  transform: rotate(45deg) translateY(-3px);
  transition: transform 180ms ease;
}

.gkm-category-toggle[aria-expanded="true"] i {
  transform: rotate(225deg) translate(-2px, -1px);
}

.gkm-required-state {
  color: #36720d;
  font-size: 0.68rem;
  font-weight: 900;
  white-space: nowrap;
}

.gkm-category-details {
  padding: 0 16px 17px;
  color: #526a70;
  background: #f7faf9;
  border-top: 1px solid #e0e8e8;
}

.gkm-category-details p {
  margin: 14px 0 0;
  line-height: 1.55;
}

.gkm-privacy-switch {
  position: relative;
  align-self: center;
  width: 52px;
  height: 30px;
  margin: 0 16px 0 8px;
  cursor: pointer;
}

.gkm-privacy-switch input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.gkm-privacy-switch span {
  position: absolute;
  inset: 0;
  background: #c1ced0;
  border: 1px solid #95aaae;
  border-radius: 999px;
  transition: background 180ms ease, border-color 180ms ease;
}

.gkm-privacy-switch span::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.24);
  transition: transform 180ms ease;
}

.gkm-privacy-switch input:checked + span {
  background: #087f80;
  border-color: #087f80;
}

.gkm-privacy-switch input:checked + span::after {
  transform: translateX(22px);
}

.gkm-privacy-switch input:disabled + span {
  cursor: not-allowed;
  opacity: 0.5;
}

.gkm-gpc-note {
  margin: 14px 0 0;
  padding: 12px 14px;
  color: #604b09;
  background: #fff7dc;
  border-left: 3px solid #d6aa24;
  line-height: 1.45;
}

.site-footer .footer-privacy-button {
  display: inline;
  padding: 0;
  color: inherit;
  background: transparent;
  border: 0;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}

body.gkm-privacy-open {
  overflow: hidden;
}

[data-gkm-privacy-ui] [hidden] {
  display: none !important;
}

@media (max-width: 620px) {
  .gkm-consent-dialog,
  .gkm-privacy-dialog {
    top: 12px;
    bottom: 12px;
    width: calc(100vw - 24px);
    max-height: none;
    transform: translateX(-50%);
  }

  .gkm-consent-scroll,
  .gkm-privacy-dialog-scroll {
    padding: 22px 18px;
  }

  .gkm-consent-dialog h2,
  .gkm-privacy-dialog h2 {
    max-width: calc(100% - 28px);
    font-size: 1.42rem !important;
  }

  .gkm-consent-scroll > p,
  .gkm-privacy-intro {
    font-size: 0.92rem;
  }

  .gkm-consent-actions,
  .gkm-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
    padding: 12px 18px 14px;
  }

  .gkm-consent-actions .primary,
  .gkm-dialog-actions .primary {
    grid-row: 1;
  }

  .gkm-consent-button {
    width: 100%;
  }

  .gkm-category-toggle {
    gap: 10px;
    padding: 12px;
  }

  .gkm-category-toggle small {
    display: none;
  }

  .gkm-required-state {
    font-size: 0.62rem;
  }

  .gkm-privacy-switch {
    margin-right: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gkm-consent-button,
  .gkm-category-toggle i,
  .gkm-privacy-switch span,
  .gkm-privacy-switch span::after {
    transition: none;
  }
}
