.tig-google-consent[hidden],
.tig-google-settings[hidden] {
  display: none !important;
}

.tig-google-consent,
.tig-google-consent *,
.tig-google-settings {
  box-sizing: border-box;
}

.tig-google-consent {
  position: fixed;
  inset: auto 16px 16px;
  z-index: 100000;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 22px 24px;
  border: 1px solid #b9aaa0;
  border-radius: 6px;
  background: #f7f3ef;
  color: #312b27;
  box-shadow: 0 4px 24px rgb(49 43 39 / 18%);
  font-family: inherit;
  text-align: left;
}

.tig-google-consent__copy {
  flex: 1 1 550px;
}

.tig-google-consent h2 {
  margin: 0 0 8px;
  color: inherit;
  font-family: inherit;
  font-size: 18px;
  font-weight: 750;
  line-height: 1.3;
  letter-spacing: normal;
  text-transform: none;
}

.tig-google-consent p {
  margin: 0;
  color: inherit;
  font-size: 14px;
  line-height: 1.5;
}

.tig-google-consent a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tig-google-consent__actions {
  display: flex;
  flex: 0 1 auto;
  gap: 10px;
}

.tig-google-consent__actions button {
  appearance: none;
  min-height: 46px;
  padding: 12px 16px;
  border: 1px solid #655349;
  border-radius: 3px;
  background: #f7f3ef;
  color: #312b27;
  font: inherit;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.35;
  text-align: center;
  cursor: pointer;
}

.tig-google-consent__actions button:hover {
  background: #e8dfd7;
}

.tig-google-consent :focus-visible,
.tig-google-settings:focus-visible {
  outline: 3px solid #655349;
  outline-offset: 4px;
}

.tig-google-settings {
  appearance: none;
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 99990;
  min-height: 32px;
  max-width: calc(100% - 20px);
  padding: 6px 10px;
  border: 1px solid #b9aaa0;
  border-radius: 3px;
  background: #f7f3ef;
  color: #312b27;
  font: inherit;
  font-size: 12px;
  line-height: 1.35;
  cursor: pointer;
}

@media (max-width: 1000px) {
  .tig-google-consent {
    align-items: stretch;
    flex-direction: column;
    gap: 16px;
  }

  .tig-google-consent__copy {
    flex-basis: auto;
  }

  .tig-google-consent__actions button {
    flex: 1;
  }
}

@media (max-width: 520px) {
  .tig-google-consent {
    inset: auto 8px 8px;
    max-height: calc(100dvh - 16px);
    overflow-y: auto;
    padding: 18px;
  }

  .tig-google-consent__actions {
    flex-direction: column;
  }
}
