/* The consent interface is plugin-owned markup and cannot be expressed through Divi module attributes. */
.fcc-root {
  --fcc-ink: #17241b;
  --fcc-muted: rgb(23 59 10 / 72%);
  --fcc-surface: #fbfdf9;
  --fcc-line: rgb(23 59 10 / 18%);
  --fcc-green: #276706;
  --fcc-green-hover: #173b0a;
  --fcc-focus: #d79024;
  color: var(--fcc-ink);
  font-family: "Gabarito", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  position: relative;
  z-index: 2147483000;
}

.fcc-root [hidden] {
  display: none !important;
}

.fcc-banner {
  align-items: center;
  background: var(--fcc-surface);
  border-top: 2px solid var(--fcc-green);
  bottom: 0;
  box-shadow: 0 -8px 32px rgba(23, 36, 27, 0.14);
  display: grid;
  gap: 18px;
  grid-template-columns: minmax(0, 1fr) auto;
  left: 0;
  padding: 14px max(24px, calc((100vw - 1180px) / 2));
  position: fixed;
  right: 0;
}

.fcc-banner h2,
.fcc-dialog h2,
.fcc-category h3 {
  color: var(--fcc-ink);
  font-family: inherit;
  font-style: normal;
  letter-spacing: normal;
  text-transform: none;
}

.fcc-banner h2,
.fcc-dialog h2 {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 6px;
}

.fcc-banner h2 {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.fcc-banner p,
.fcc-dialog p {
  color: var(--fcc-muted);
  margin: 0;
}

.fcc-banner p {
  font-size: 0.88rem;
  line-height: 1.4;
}

.fcc-banner__copy {
  align-items: baseline;
  display: flex;
  gap: 10px;
  min-width: 0;
}

.fcc-banner__copy p {
  min-width: 0;
}

.fcc-banner__copy .fcc-text-link {
  flex: 0 0 auto;
}

.fcc-banner__actions,
.fcc-dialog__footer {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.fcc-banner__actions {
  justify-content: end;
}

.fcc-button,
.fcc-manage,
.fcc-close {
  appearance: none;
  cursor: pointer;
  font: inherit;
}

.fcc-button {
  border: 1px solid transparent;
  border-radius: 100px;
  font-size: 0.94rem;
  font-weight: 600;
  min-height: 40px;
  padding: 8px 19px;
}

.fcc-button--primary {
  background: var(--fcc-ink);
  color: #fff;
}

.fcc-button--primary:hover {
  background: var(--fcc-green-hover);
}

.fcc-button--secondary {
  background: var(--fcc-surface);
  border-color: var(--fcc-ink);
  color: var(--fcc-ink);
}

.fcc-button--quiet {
  background: transparent;
  color: var(--fcc-ink);
}

.fcc-text-link {
  color: var(--fcc-green);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.fcc-text-link {
  display: inline-block;
  font-size: 0.9rem;
  margin-top: 3px;
}

.fcc-manage {
  background: var(--fcc-surface);
  border: 1px solid var(--fcc-line);
  border-radius: 100px 100px 0 0;
  bottom: 0;
  box-shadow: 0 -4px 16px rgba(23, 36, 27, 0.1);
  color: var(--fcc-ink);
  font-size: 0.78rem;
  left: 18px;
  padding: 8px 11px;
  position: fixed;
}

.fcc-dialog-wrap,
.fcc-backdrop {
  inset: 0;
  position: fixed;
}

.fcc-dialog-wrap {
  align-items: center;
  display: flex;
  justify-content: center;
  padding: 20px;
}

.fcc-backdrop {
  background: rgba(11, 20, 13, 0.58);
}

.fcc-dialog {
  background: var(--fcc-surface);
  border-radius: 6px;
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.25);
  max-height: calc(100vh - 40px);
  max-width: 620px;
  overflow: auto;
  padding: 28px;
  position: relative;
  width: 100%;
}

.fcc-dialog__header {
  align-items: start;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  margin-bottom: 24px;
}

.fcc-close {
  background: transparent;
  border: 0;
  color: var(--fcc-muted);
  font-size: 2rem;
  line-height: 1;
  padding: 0 4px;
}

.fcc-category {
  align-items: center;
  border-top: 1px solid var(--fcc-line);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  padding: 20px 0;
}

.fcc-category h3 {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px;
}

.fcc-switch {
  flex: 0 0 auto;
  position: relative;
}

.fcc-switch input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.fcc-switch > span:last-child {
  background: #879189;
  border-radius: 18px;
  display: block;
  height: 28px;
  position: relative;
  transition: background-color 150ms ease;
  width: 48px;
}

.fcc-switch > span:last-child::after {
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
  content: "";
  height: 22px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 150ms ease;
  width: 22px;
}

.fcc-switch input:checked + span {
  background: var(--fcc-green);
}

.fcc-switch input:checked + span::after {
  transform: translateX(20px);
}

.fcc-switch--locked {
  opacity: 0.68;
}

.fcc-dialog__footer {
  border-top: 1px solid var(--fcc-line);
  justify-content: space-between;
  padding-top: 20px;
}

.fcc-dialog__footer .fcc-text-link {
  margin-top: 0;
}

body.fcc-dialog-open {
  overflow: hidden;
}

.fcc-root button:focus-visible,
.fcc-root a:focus-visible,
.fcc-switch input:focus-visible + span {
  outline: 3px solid var(--fcc-focus);
  outline-offset: 3px;
}

@media (max-width: 780px) {
  .fcc-banner {
    align-items: stretch;
    grid-template-columns: 1fr;
    max-height: 90vh;
    overflow: auto;
    padding: 14px 16px;
  }

  .fcc-banner__actions {
    align-items: stretch;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }

  .fcc-banner__actions .fcc-button--quiet {
    order: initial;
  }

  .fcc-dialog {
    padding: 22px;
  }
}

@media (max-width: 440px) {
  .fcc-button {
    font-size: 0.78rem;
    padding-inline: 7px;
  }

  .fcc-dialog__footer {
    align-items: stretch;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .fcc-switch > span:last-child,
  .fcc-switch > span:last-child::after {
    transition: none;
  }
}
