.cookie-consent-banner {
  position: fixed;
  z-index: 10000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  width: min(1060px, calc(100% - 36px));
  margin: 0 auto;
  padding: 22px 24px;
  border: 1px solid #d8e4de;
  border-radius: 18px;
  background: #fff;
  color: #17362b;
  box-shadow: 0 18px 60px #10271f2b;
}
.cookie-copy h2 {
  margin: 2px 0 5px;
  font-size: 20px;
}
.cookie-copy p:last-child {
  max-width: 680px;
  margin: 0;
  color: #53665e;
  line-height: 1.55;
}
.cookie-copy a {
  color: #1f6448;
  font-weight: 700;
  text-underline-offset: 3px;
}
.cookie-eyebrow {
  margin: 0;
  color: #39785c;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.cookie-actions,
.cookie-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 9px;
}
.cookie-button {
  min-height: 42px;
  padding: 9px 14px;
  border: 1px solid #246249;
  border-radius: 10px;
  background: #fff;
  color: #1d563f;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}
.cookie-button:hover {
  background: #f1f7f3;
}
.cookie-button:focus-visible,
.cookie-settings-link:focus-visible,
.cookie-close:focus-visible {
  outline: 3px solid #91c5aa;
  outline-offset: 3px;
}
.cookie-button-primary {
  background: #205d43;
  color: #fff;
}
.cookie-button-primary:hover {
  background: #174b35;
}
.cookie-button-text {
  border-color: transparent;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 650;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.cookie-settings-dialog {
  width: min(620px, calc(100% - 32px));
  max-height: min(84vh, 760px);
  padding: 26px;
  border: 1px solid #d8e4de;
  border-radius: 18px;
  background: #fff;
  color: #17362b;
  box-shadow: 0 24px 90px #0b201b4d;
}
.cookie-settings-dialog::backdrop {
  background: #10251db3;
}
.cookie-dialog-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}
.cookie-dialog-head h2 {
  margin: 4px 0 0;
  font-size: 25px;
}
.cookie-close {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: #eff5f1;
  color: #17362b;
  font-size: 27px;
  cursor: pointer;
}
.cookie-intro {
  margin: 14px 0 18px;
  color: #53665e;
  line-height: 1.6;
}
.cookie-categories {
  margin-bottom: 20px;
  border-top: 1px solid #e3ebe6;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-bottom: 1px solid #e3ebe6;
}
.cookie-category p {
  margin: 4px 0 0;
  color: #53665e;
  line-height: 1.45;
}
.cookie-category label {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
  font-weight: 700;
}
.cookie-category input {
  width: 18px;
  height: 18px;
  accent-color: #205d43;
}
.cookie-dialog-actions {
  justify-content: flex-end;
}
@media (max-width: 720px) {
  .cookie-consent-banner {
    right: 10px;
    bottom: 10px;
    left: 10px;
    grid-template-columns: 1fr;
    gap: 14px;
    width: auto;
    padding: 18px;
    border-radius: 14px;
  }
  .cookie-actions {
    justify-content: flex-start;
  }
  .cookie-button {
    flex: 1 1 auto;
  }
  .cookie-button-text {
    flex-basis: 100%;
  }
  .cookie-settings-dialog {
    padding: 20px;
  }
  .cookie-category {
    align-items: flex-start;
  }
  .cookie-category label {
    font-size: 14px;
  }
}
