.cookie-consent[hidden],
.cookie-consent__settings[hidden],
.cookie-embed iframe[hidden],
.cookie-embed-placeholder[hidden] {
  display: none !important;
}

.cookie-consent {
  position: fixed;
  z-index: 20000;
  right: 20px;
  bottom: 20px;
  left: 20px;
  max-height: calc(100vh - 40px);
  overflow: auto;
  border: 1px solid rgba(20, 29, 33, .14);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 16px 48px rgba(0, 0, 0, .24);
  color: #172126;
  font: 400 15px/1.5 Arial, sans-serif;
}

.cookie-consent__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 20px 32px;
  max-width: 1320px;
  margin: 0 auto;
  padding: 24px 28px;
}

.cookie-consent__copy h2,
.cookie-consent__settings h3 {
  margin: 0 0 8px;
  color: #172126;
  font: 700 20px/1.3 Arial, sans-serif;
  text-shadow: none;
}

.cookie-consent__copy p {
  max-width: 820px;
  margin: 0 0 8px;
  color: #39474d;
  font: 400 14px/1.55 Arial, sans-serif;
}

.cookie-consent__copy a,
.cookie-consent-link {
  color: #075d51;
  font: 600 13px/1.4 Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-consent__actions,
.cookie-consent__settings-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.cookie-consent__button {
  min-height: 44px;
  padding: 10px 16px;
  border: 1px solid #075d51;
  border-radius: 7px;
  cursor: pointer;
  font: 700 14px/1.2 Arial, sans-serif;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease;
}

.cookie-consent__button:focus-visible,
.cookie-consent-link:focus-visible,
.cookie-consent__copy a:focus-visible,
.cookie-consent__category input:focus-visible {
  outline: 3px solid #d2913c;
  outline-offset: 3px;
}

.cookie-consent__button--primary {
  background: #075d51;
  color: #fff;
}

.cookie-consent__button--primary:hover {
  border-color: #06483f;
  background: #06483f;
}

.cookie-consent__button--secondary {
  background: #fff;
  color: #075d51;
}

.cookie-consent__button--secondary:hover {
  background: #eef5f3;
}

.cookie-consent__settings {
  grid-column: 1 / -1;
  padding-top: 18px;
  border-top: 1px solid #dce3e1;
}

.cookie-consent__settings h3 {
  margin-bottom: 14px;
  font-size: 17px;
}

.cookie-consent__categories {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.cookie-consent__category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px 14px;
  border: 1px solid #dce3e1;
  border-radius: 8px;
  cursor: pointer;
}

.cookie-consent__category span {
  display: block;
}

.cookie-consent__category strong,
.cookie-consent__category small {
  display: block;
}

.cookie-consent__category strong {
  margin-bottom: 3px;
  color: #172126;
  font-size: 14px;
}

.cookie-consent__category small {
  color: #526066;
  font-size: 12px;
  line-height: 1.4;
}

.cookie-consent__category input {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  accent-color: #075d51;
}

.cookie-consent__category input:disabled {
  cursor: not-allowed;
}

.cookie-consent__settings-actions {
  margin-top: 14px;
}

.cookie-embed-placeholder {
  display: flex;
  min-height: 120px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 24px;
  background: #f1f3f2;
  color: #253238;
  text-align: center;
}

.cookie-embed-placeholder p {
  max-width: 560px;
  margin: 0;
  color: inherit;
  font: 400 15px/1.5 Arial, sans-serif;
}

.cookie-consent-link {
  border: 0;
  padding: 4px;
  background: transparent;
  cursor: pointer;
}

.cookie-embed {
  position: relative;
}

.cookie-embed iframe {
  display: block;
}

.map-area .cookie-embed-placeholder {
  min-height: clamp(320px, 60vw, 800px);
}

[data-trustindex-container] .cookie-embed-placeholder {
  min-height: 150px;
  margin: 12px 0;
  background: rgba(255, 255, 255, .08);
  color: #fff;
}

[data-trustindex-container] .cookie-embed-placeholder p {
  color: #fff;
}

@media (max-width: 800px) {
  .cookie-consent__inner {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }

  .cookie-consent__actions {
    justify-content: stretch;
  }

  .cookie-consent__actions .cookie-consent__button {
    flex: 1 1 150px;
  }

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

@media (max-width: 520px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
    max-height: calc(100vh - 20px);
  }

  .cookie-consent__inner {
    padding: 18px 16px;
  }

  .cookie-consent__actions .cookie-consent__button {
    flex-basis: 100%;
  }
}
