.itr-consent-settings,
.itr-consent-banner {
  font-family: inherit;
}

.itr-consent-settings {
  position: fixed;
  z-index: 9998;
  right: 1rem;
  bottom: 1rem;
  min-height: 44px;
  padding: 0.65rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  color: #fff8ee;
  background: #24201d;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

.itr-consent-banner {
  position: fixed;
  z-index: 9999;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 1.25rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1.1rem;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 18px;
  color: #fff8ee;
  background: #24201d;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.32);
}

.itr-consent-settings[hidden],
.itr-consent-banner[hidden] {
  display: none;
}

.itr-consent-banner h2 {
  margin: 0 0 0.35rem;
  color: inherit;
  font-size: clamp(1.05rem, 2vw, 1.25rem);
}

.itr-consent-banner p {
  margin: 0;
  color: rgba(255, 248, 238, 0.84);
  font-size: 0.95rem;
  line-height: 1.55;
}

.itr-consent-banner details {
  margin-top: 0.55rem;
}

.itr-consent-banner summary {
  width: max-content;
  color: #f1c27d;
  cursor: pointer;
}

.itr-consent-banner details p {
  margin-top: 0.45rem;
  max-width: 72ch;
  font-size: 0.86rem;
}

.itr-consent-banner__actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-content: center;
  gap: 0.65rem;
  min-width: min(100%, 300px);
}

.itr-consent-banner__actions button {
  min-height: 46px;
  padding: 0.7rem 0.9rem;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 10px;
  color: #fff8ee;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.itr-consent-banner__actions button:hover,
.itr-consent-banner__actions button:focus-visible,
.itr-consent-settings:hover,
.itr-consent-settings:focus-visible {
  outline: 3px solid #f1c27d;
  outline-offset: 2px;
}

@media (max-width: 720px) {
  .itr-consent-settings {
    bottom: 5.4rem;
  }

  .itr-consent-banner {
    bottom: 5.4rem;
    grid-template-columns: 1fr;
    max-height: calc(100vh - 7rem);
    overflow: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .itr-consent-settings,
  .itr-consent-banner {
    scroll-behavior: auto;
  }
}
