.ab-consent {
  position: fixed;
  inset: 0;
  z-index: 999999;

  display: flex;
  align-items: flex-end;
  justify-content: center;

  padding: 22px;

  background: rgba(36, 23, 30, .10);
  backdrop-filter: blur(2px);

  opacity: 0;
  visibility: hidden;

  transition:
    opacity .22s ease,
    visibility .22s ease;
}

.ab-consent.is-visible {
  opacity: 1;
  visibility: visible;
}

.ab-consent-card {
  width: min(760px, 100%);

  padding: 24px;

  display: grid;
  grid-template-columns: auto 1fr;
  gap: 14px 18px;

  background: #ffffff;

  border:
    1px solid rgba(76, 46, 61, .10);

  border-radius: 26px;

  box-shadow:
    0 24px 70px rgba(52, 29, 41, .18);

  color: #4c2e3d;

  font-family:
    "DM Sans",
    Arial,
    sans-serif;
}

.ab-consent-icon {
  width: 46px;
  height: 46px;

  display: grid;
  place-items: center;

  border-radius: 15px;

  background: #fbe9f1;

  font-size: 22px;
}

.ab-consent-copy h2 {
  margin: 1px 0 8px;

  font-family:
    "Poppins",
    "DM Sans",
    Arial,
    sans-serif;

  font-size: 19px;
  line-height: 1.2;

  color: #3d2632;
}

.ab-consent-copy p {
  margin: 0;

  color: #725d68;

  font-size: 13px;
  line-height: 1.55;
}

.ab-consent-copy .ab-consent-small {
  margin-top: 7px;

  color: #9b8791;

  font-size: 11px;
}

.ab-consent-link {
  display: inline-block;

  margin-top: 9px;

  color: #74475d;

  font-size: 11px;
  font-weight: 700;

  text-decoration: underline;
}

.ab-consent-actions {
  grid-column: 1 / -1;

  display: grid;
  grid-template-columns: 1fr 1fr;

  gap: 9px;

  margin-top: 5px;
}

.ab-consent-actions button {
  min-height: 47px;

  padding: 0 18px;

  border-radius: 15px;

  font: inherit;
  font-size: 12px;
  font-weight: 800;

  cursor: pointer;

  transition:
    transform .16s ease,
    box-shadow .16s ease;
}

.ab-consent-actions button:hover {
  transform: translateY(-1px);
}

.ab-consent-reject {
  border:
    1px solid rgba(76, 46, 61, .18);

  background: #ffffff;

  color: #4c2e3d;
}

.ab-consent-accept {
  border:
    1px solid #4c2e3d;

  background: #4c2e3d;

  color: #ffffff;

  box-shadow:
    0 10px 24px rgba(76, 46, 61, .16);
}

.ab-consent-settings {
  position: fixed;

  left: 15px;
  bottom: 15px;

  z-index: 99990;

  padding: 8px 11px;

  border:
    1px solid rgba(76, 46, 61, .11);

  border-radius: 999px;

  background:
    rgba(255, 255, 255, .94);

  color: #725064;

  box-shadow:
    0 8px 22px rgba(76, 46, 61, .08);

  font-family:
    "DM Sans",
    Arial,
    sans-serif;

  font-size: 9px;
  font-weight: 800;

  cursor: pointer;
}

@media (max-width: 620px) {
  .ab-consent {
    padding: 12px;
  }

  .ab-consent-card {
    padding: 19px;

    grid-template-columns: 1fr;

    border-radius: 22px;
  }

  .ab-consent-icon {
    width: 40px;
    height: 40px;
  }

  .ab-consent-actions {
    grid-template-columns: 1fr;
  }

  .ab-consent-reject {
    order: 2;
  }

  .ab-consent-accept {
    order: 1;
  }
}
