.cunzolo-consent-banner,
.cunzolo-consent-dialog,
.cunzolo-consent-review-link {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  box-sizing: border-box;
}

.cunzolo-consent-banner {
  position: fixed;
  z-index: 2147483000;
  right: 18px;
  bottom: 18px;
  left: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  width: min(1120px, calc(100% - 36px));
  margin: 0 auto;
  padding: 20px 22px;
  color: #eef5f8;
  background: #071f33;
  border: 1px solid rgba(255, 255, 255, .2);
  border-radius: 10px;
  box-shadow: 0 22px 70px rgba(0, 0, 0, .38);
}

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

body.cunzolo-consent-pending {
  padding-bottom: var(--cunzolo-consent-offset, 0px) !important;
}

.cunzolo-consent-copy h2 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 1.08rem;
  line-height: 1.25;
}

.cunzolo-consent-copy p {
  max-width: 760px;
  margin: 0;
  color: #d7e4eb;
  font-size: .94rem;
  line-height: 1.5;
}

.cunzolo-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 16px;
  align-items: center;
  justify-content: flex-end;
}

.cunzolo-consent-button {
  min-height: 44px;
  padding: 10px 16px;
  border: 0;
  border-radius: 8px;
  font: inherit;
  font-weight: 750;
  cursor: pointer;
}

.cunzolo-consent-button-primary {
  color: #fff;
  background: #b64f00;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .2);
}

.cunzolo-consent-button-link {
  min-height: 44px;
  padding: 8px 2px;
  color: #fff;
  background: transparent;
  border-radius: 2px;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, .6);
  text-underline-offset: 4px;
}

.cunzolo-consent-button:hover {
  filter: brightness(1.08);
}

.cunzolo-consent-button:focus-visible,
.cunzolo-consent-review-link:focus-visible,
.cunzolo-consent-dialog input:focus-visible {
  outline: 3px solid #ffb36f;
  outline-offset: 3px;
}

.cunzolo-consent-dialog {
  width: min(650px, calc(100vw - 32px));
  max-width: none;
  max-height: min(88vh, 760px);
  margin: auto;
  padding: 0;
  color: #1d2a36;
  background: #fff;
  border: 0;
  border-radius: 10px;
  box-shadow: 0 26px 90px rgba(0, 0, 0, .42);
}

.cunzolo-consent-dialog::backdrop {
  background: rgba(3, 13, 21, .74);
  backdrop-filter: blur(2px);
}

.cunzolo-consent-dialog-head {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  padding: 20px 22px;
  color: #fff;
  background: #071f33;
}

.cunzolo-consent-dialog-head h2 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 1.18rem;
}

.cunzolo-consent-dialog-head p {
  margin: 0;
  color: #d7e4eb;
  font-size: .9rem;
}

.cunzolo-consent-close {
  display: inline-grid;
  flex: 0 0 auto;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  color: #fff;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .35);
  border-radius: 8px;
  font: inherit;
  font-size: 1.4rem;
  cursor: pointer;
}

.cunzolo-consent-options {
  display: grid;
  gap: 12px;
  padding: 22px;
}

.cunzolo-consent-option {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 16px;
  background: #f6f8fa;
  border: 1px solid #dde5eb;
  border-radius: 8px;
}

.cunzolo-consent-option strong,
.cunzolo-consent-option span {
  display: block;
}

.cunzolo-consent-option span {
  margin-top: 3px;
  color: #5d6c7a;
  font-size: .9rem;
  line-height: 1.45;
}

.cunzolo-consent-option input {
  width: 24px;
  height: 24px;
  margin: 0;
  accent-color: #b64f00;
}

.cunzolo-consent-dialog-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  padding: 0 22px 22px;
}

.cunzolo-consent-dialog-actions .cunzolo-consent-button-link {
  color: #145073;
  text-decoration-color: currentColor;
}

.cunzolo-consent-review-link {
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin: 0;
  padding: 6px 0;
  color: inherit;
  background: transparent;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  text-align: left;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  cursor: pointer;
}

.cunzolo-consent-review-link:hover {
  text-decoration-thickness: 2px;
}

.cunzolo-consent-live {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

@media (max-width: 820px) {
  .cunzolo-consent-banner {
    grid-template-columns: 1fr;
  }

  .cunzolo-consent-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 560px) {
  .cunzolo-consent-banner {
    right: 8px;
    bottom: 8px;
    left: 8px;
    width: calc(100% - 16px);
    padding: 17px;
  }

  .cunzolo-consent-actions,
  .cunzolo-consent-dialog-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .cunzolo-consent-button {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cunzolo-consent-dialog::backdrop {
    backdrop-filter: none;
  }
}
