.if-consent[hidden] {
  display: none !important;
}

.if-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  left: 18px;
  z-index: 1000;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(940px, calc(100% - 36px));
  max-height: calc(100dvh - 36px);
  margin-inline: auto;
  overflow: auto;
  padding: 25px 29px;
  border: 1px solid #cfcac0;
  border-top: 4px solid #e6b85f;
  background: #f5f2ea;
  box-shadow: 0 18px 55px rgba(18, 47, 67, .24);
  color: #19354b;
  font-family: DM, 'DM Sans', Arial, sans-serif;
}

.if-consent-kicker {
  display: block;
  margin-bottom: 5px;
  color: #986819;
  font-size: .67rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.if-consent-title {
  display: block;
  margin-bottom: 6px;
  color: #122f43;
  font-family: Manrope, 'DM Sans', Arial, sans-serif;
  font-size: 1.04rem;
  font-weight: 800;
  letter-spacing: -.03em;
}

.if-consent p {
  max-width: 65ch;
  margin: 0;
  color: #53687a;
  font-size: .86rem;
  line-height: 1.55;
}

.if-consent a {
  color: #194c72;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.if-consent-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(132px, 1fr));
  gap: 9px;
}

.if-consent-actions button {
  min-height: 44px;
  padding: 9px 12px;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #194c72;
  cursor: pointer;
  font: 800 .79rem/1.2 Manrope, 'DM Sans', Arial, sans-serif;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.if-consent-actions button:hover,
.if-consent-actions button:focus-visible {
  color: #122f43;
  outline: 2px solid #194c72;
  outline-offset: 2px;
}

.if-consent-settings {
  padding: 0;
  border: 0;
  background: none;
  color: #d9eaf1;
  cursor: pointer;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.if-consent-settings:hover,
.if-consent-settings:focus-visible {
  color: #fff;
}

@media (max-width: 760px) {
  .if-consent {
    grid-template-columns: 1fr;
    gap: 17px;
    padding: 20px;
  }
}

@media (max-width: 390px) {
  .if-consent-actions {
    grid-template-columns: 1fr;
  }
}
