.gp-consent-banner,
.gp-consent-dialog,
.gp-consent-settings-button {
  font-family: Montserrat, Arial, sans-serif;
}

.gp-consent-banner {
  position: fixed;
  z-index: 10000;
  right: 1rem;
  bottom: 1rem;
  left: 1rem;
  margin: 0 auto;
  max-width: 64rem;
  border: 1px solid rgba(50, 83, 85, 0.2);
  border-radius: 1.25rem;
  background: #fff;
  color: #333;
  box-shadow: 0 1.5rem 4rem rgba(31, 30, 27, 0.22);
}

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

.gp-consent-banner__content {
  display: grid;
  gap: 1rem;
  padding: 1.25rem;
}

.gp-consent-banner__copy {
  line-height: 1.55;
}

.gp-consent-banner__copy strong {
  display: block;
  margin-bottom: 0.35rem;
  color: #5e3b2e;
  font-size: 1.05rem;
}

.gp-consent-banner__copy p {
  margin: 0;
  font-size: 0.9rem;
}

.gp-consent-banner__copy a,
.gp-consent-dialog a {
  color: #325355;
  font-weight: 700;
  text-underline-offset: 0.18em;
}

.gp-consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.gp-consent-button {
  min-height: 2.8rem;
  border: 2px solid #325355;
  border-radius: 999px;
  padding: 0.65rem 1rem;
  background: #fff;
  color: #325355;
  font: inherit;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
}

.gp-consent-button:hover,
.gp-consent-button:focus-visible {
  background: #f4f2eb;
}

.gp-consent-button--primary {
  background: #325355;
  color: #fff;
}

.gp-consent-button--primary:hover,
.gp-consent-button--primary:focus-visible {
  background: #5e3b2e;
  border-color: #5e3b2e;
}

.gp-consent-dialog {
  width: min(42rem, calc(100% - 2rem));
  max-height: calc(100vh - 2rem);
  margin: auto;
  border: 0;
  border-radius: 1.5rem;
  padding: 0;
  background: #fff;
  color: #333;
  box-shadow: 0 2rem 6rem rgba(31, 30, 27, 0.32);
}

.gp-consent-dialog::backdrop {
  background: rgba(31, 30, 27, 0.68);
  backdrop-filter: blur(3px);
}

.gp-consent-dialog__inner {
  overflow-y: auto;
  max-height: calc(100vh - 2rem);
  padding: 1.5rem;
}

.gp-consent-dialog h2 {
  margin: 0;
  color: #5e3b2e;
  font-size: 1.45rem;
}

.gp-consent-dialog__intro {
  margin: 0.75rem 0 1.25rem;
  line-height: 1.6;
}

.gp-consent-option {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.8rem;
  align-items: start;
  padding: 1rem 0;
  border-top: 1px solid #e5e7eb;
}

.gp-consent-option strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #325355;
}

.gp-consent-option p {
  margin: 0;
  color: #5f6368;
  font-size: 0.86rem;
  line-height: 1.5;
}

.gp-consent-option input {
  width: 1.25rem;
  height: 1.25rem;
  accent-color: #325355;
}

.gp-consent-option input:disabled {
  opacity: 1;
}

.gp-consent-settings-button {
  position: fixed;
  z-index: 9998;
  left: 1rem;
  bottom: 1rem;
  border: 1px solid rgba(50, 83, 85, 0.35);
  border-radius: 999px;
  padding: 0.55rem 0.8rem;
  background: rgba(255, 255, 255, 0.96);
  color: #325355;
  box-shadow: 0 0.5rem 1.5rem rgba(31, 30, 27, 0.15);
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

@media (min-width: 760px) {
  .gp-consent-banner__content {
    grid-template-columns: 1fr auto;
    align-items: center;
    padding: 1.4rem 1.6rem;
  }

  .gp-consent-actions {
    justify-content: flex-end;
  }

  .gp-consent-dialog__inner {
    padding: 2rem;
  }
}

