.cookie-consent {
  position: fixed;
  left: 50%;
  bottom: 1.5rem;
  z-index: 100000;
  box-sizing: border-box;
  width: min(1180px, calc(100vw - 2.5rem));
  max-width: 1180px;
  max-height: calc(100vh - 2rem);
  overflow: auto;
  background: #fff;
  color: #3f2e2a;
  border: 1px solid #5f8f7a;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(95, 143, 122, 0.16);
  opacity: 0;
  transform: translateX(-50%) translateY(12px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  pointer-events: none;
  font-family: ttnormspro, Roboto, Helvetica, Arial, sans-serif;
}

.cookie-consent *,
.cookie-consent *::before,
.cookie-consent *::after {
  box-sizing: border-box;
}

.cookie-consent .cookie-consent__cat-toggle {
  appearance: none;
  -webkit-appearance: none;
  font-family: inherit;
  background: none;
  background-image: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  min-height: 0;
}

.cookie-consent.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.cookie-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.4fr) 13.75rem;
  align-items: stretch;
  gap: 0;
  min-width: 0;
}

.cookie-consent__copy {
  min-width: 0;
  padding: 1.45rem 1.6rem 1.4rem;
}

.cookie-consent__title {
  font-weight: 700;
  color: #3f2e2a;
  margin: 0 0 0.65rem;
  font-size: 1.2rem;
  letter-spacing: 0.02em;
  line-height: 1.3;
}

.cookie-consent__text {
  font-size: 0.65em;
  color: #59443f;
  line-height: 1.6;
  margin: 0;
  overflow-wrap: break-word;
}

.cookie-consent__text a {
  color: #3f2e2a;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.cookie-consent__text a:hover {
  color: #5f8f7a;
}

.cookie-consent__accordion {
  padding: 0.35rem 1.35rem 0.85rem;
  border-left: 1px solid #d7e4de;
  border-right: 1px solid #d7e4de;
  min-width: 0;
}

.cookie-consent__cat {
  border-bottom: 1px solid #d7e4de;
}

.cookie-consent__cat:last-child {
  border-bottom: 0;
}

.cookie-consent__cat-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.85rem 0;
}

.cookie-consent__cat-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  min-width: 0;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  color: #3f2e2a;
  font: inherit;
  font-weight: 700;
  font-size: 0.98rem;
}

.cookie-consent__cat-title {
  text-align: left;
  overflow-wrap: break-word;
}

.cookie-consent__chevron {
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.cookie-consent__cat.is-open .cookie-consent__chevron {
  transform: rotate(180deg);
}

.cookie-consent__switch-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  flex-shrink: 0;
}

.cookie-consent__switch-label {
  font-size: 0.85rem;
  color: #8d7267;
  min-width: 3.6rem;
  text-align: right;
}

.cookie-consent .cookie-consent__switch {
  appearance: none;
  -webkit-appearance: none;
  position: relative;
  width: 42px;
  height: 24px;
  border: 0;
  border-radius: 999px;
  background: #c5d4ce;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  min-height: 24px;
  box-shadow: none;
}

.cookie-consent .cookie-consent__switch::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  transition: transform 0.18s ease;
}

.cookie-consent .cookie-consent__switch.is-on {
  background: #5f8f7a;
}

.cookie-consent .cookie-consent__switch.is-on::after {
  transform: translateX(18px);
}

.cookie-consent .cookie-consent__switch.is-locked {
  background: #5f8f7a;
  cursor: default;
  opacity: 0.85;
}

.cookie-consent__cat-body {
  padding: 0 0 1rem;
}

.cookie-consent__cat-desc {
  margin: 0 0 0.9rem;
  font-size: 0.9rem;
  line-height: 1.55;
  color: #59443f;
}

.cookie-consent__cookie {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 0.75rem 1rem;
  align-items: start;
  padding: 0.75rem 0 0;
  border-top: 1px solid #e6eee9;
}

.cookie-consent__cookie-copy strong {
  display: block;
  color: #3f2e2a;
  font-size: 0.92rem;
  margin-bottom: 0.2rem;
}

.cookie-consent__cookie-copy p {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: #8d7267;
}

.cookie-consent__actions {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.55rem;
  padding: 1.45rem 1.2rem 1.4rem;
}

.cookie-consent button.cookie-consent__btn {
  appearance: none;
  -webkit-appearance: none;
  width: 100%;
  min-width: 0;
  min-height: 45px;
  text-align: center;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.65rem 0.9rem;
  border: 1px solid #5f8f7a;
  border-radius: 32px;
  box-shadow: none;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.cookie-consent button.cookie-consent__btn--primary {
  background-color: #5f8f7a;
  color: #fff;
  border-color: #5f8f7a;
}

.cookie-consent button.cookie-consent__btn--primary:hover,
.cookie-consent button.cookie-consent__btn--primary:focus {
  background-color: #4e7a67;
  border-color: #4e7a67;
  color: #fff;
}

.cookie-consent button.cookie-consent__btn--outline {
  background: transparent;
  color: #5f8f7a;
  border: 1px solid #5f8f7a;
}

.cookie-consent button.cookie-consent__btn--outline:hover,
.cookie-consent button.cookie-consent__btn--outline:focus {
  background-color: #5f8f7a;
  color: #fff;
}

.cookie-consent button.cookie-consent__btn--ghost {
  background: #f3f7f5;
  color: #5f8f7a;
  border: 1px solid #5f8f7a;
}

.cookie-consent button.cookie-consent__btn--ghost:hover,
.cookie-consent button.cookie-consent__btn--ghost:focus {
  background: #5f8f7a;
  color: #fff;
}

.cookie-consent__btn:focus-visible,
.cookie-consent__cat-toggle:focus-visible,
.cookie-consent__switch:focus-visible {
  outline: 2px solid #5f8f7a;
  outline-offset: 2px;
}

.jm-cookie-settings {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.18em;
}

.elementor-396 .jm-cookie-settings {
  color: var(--e-global-color-7518822, #3f2e2a);
}

@media (max-width: 959px) {
  .cookie-consent {
    width: calc(100vw - 1.5rem);
    bottom: calc(0.75rem + env(safe-area-inset-bottom, 0px));
    max-height: calc(100vh - 1.5rem);
  }

  .cookie-consent__inner {
    grid-template-columns: 1fr;
  }

  .cookie-consent__copy {
    padding: 1.15rem 1.15rem 1rem;
  }

  .cookie-consent__accordion {
    border-left: 0;
    border-right: 0;
    border-top: 1px solid #d7e4de;
    border-bottom: 1px solid #d7e4de;
    padding: 0.15rem 1.15rem 0.35rem;
  }

  .cookie-consent__actions {
    padding: 1rem 1.15rem 1.15rem;
  }
}

@media (max-width: 767px) {
  .cookie-consent__switch-label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .cookie-consent__cookie {
    grid-template-columns: 1fr;
  }

  .cookie-consent__cookie .cookie-consent__switch-wrap {
    justify-content: flex-end;
  }
}
