.glp-consent-modal[hidden],
.glp-consent-renew[hidden],
.glp-consent-modal__close[hidden] {
  display: none !important;
}

.glp-consent-modal,
.glp-consent-renew {
  --glp-orange: #ec6835;
  --glp-dark: #303030;
  --glp-text: #202020;
  font-family: "Inter", Arial, sans-serif;
}

.glp-consent-modal {
  position: fixed;
  inset: 0;
  z-index: 2147483646;
  display: grid;
  place-items: center;
  padding: 20px;
  box-sizing: border-box;
}

.glp-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .7);
}

.glp-consent-modal__dialog {
  position: relative;
  width: min(100%, 560px);
  max-height: calc(100vh - 40px);
  overflow: auto;
  padding: 30px;
  border-radius: 5px;
  background: #fff;
  color: var(--glp-text);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .34);
  box-sizing: border-box;
  outline: 0;
}

.glp-consent-modal__dialog::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 5px;
  border-radius: 5px 5px 0 0;
  background: var(--glp-orange);
}

.glp-consent-modal__dialog h2 {
  max-width: 430px;
  margin: 0 42px 14px 0;
  color: #111;
  font-family: "Antonio", "Arial Narrow", Arial, sans-serif;
  font-size: 1.85rem;
  font-weight: 600;
  line-height: 1.12;
  text-transform: uppercase;
}

.glp-consent-modal__dialog > p {
  margin: 0;
  color: #4f4f4f;
  font-size: .94rem;
  line-height: 1.55;
}

.glp-consent-modal__close {
  position: absolute;
  top: 15px;
  right: 16px;
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #222;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}

.glp-consent-modal__links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  margin-top: 17px;
}

.glp-consent-modal__links a {
  color: #234923;
  font-size: .87rem;
  font-weight: 750;
  text-underline-offset: 3px;
}

.glp-consent-options {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 25px -30px 0;
  padding: 20px 22px;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
  background: #f7f7f7;
}

.glp-consent-option {
  position: relative;
  display: flex;
  min-width: 0;
  flex-direction: column;
  align-items: center;
  padding: 0 7px;
  color: #262626;
  text-align: center;
}

.glp-consent-option strong {
  min-height: 34px;
  font-size: .8rem;
  line-height: 1.25;
}

.glp-consent-option__description {
  margin-top: 9px;
  color: #666;
  font-size: .69rem;
  line-height: 1.35;
}

.glp-consent-option--toggle {
  cursor: pointer;
}

.glp-consent-option--toggle input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.glp-consent-switch {
  position: relative;
  display: block;
  width: 52px;
  height: 30px;
  flex: none;
  border-radius: 999px;
  background: #7d7d7d;
  transition: background-color .15s ease;
}

.glp-consent-switch::after {
  content: "";
  position: absolute;
  top: 4px;
  left: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
  transition: transform .15s ease;
}

.glp-consent-option--toggle input:checked + .glp-consent-switch,
.glp-consent-switch--required {
  background: var(--glp-orange);
}

.glp-consent-option--toggle input:checked + .glp-consent-switch::after,
.glp-consent-switch--required::after {
  transform: translateX(22px);
}

.glp-consent-switch--required {
  opacity: .42;
}

.glp-consent-option--toggle input:focus-visible + .glp-consent-switch,
.glp-consent-modal__close:focus-visible,
.glp-consent-renew:focus-visible,
.glp-consent__button:focus-visible {
  outline: 2px solid #111;
  outline-offset: 3px;
}

.glp-consent-modal__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 22px;
}

.glp-consent__button {
  min-height: 50px;
  padding: 10px 12px;
  border: 0;
  border-radius: 5px;
  background: #ededed;
  color: #171717;
  font: inherit;
  font-size: .86rem;
  font-weight: 750;
  line-height: 1.25;
  cursor: pointer;
  transition: background-color .15s ease, color .15s ease;
}

.glp-consent__button:hover {
  background: #ddd;
}

.glp-consent__button--dark {
  background: var(--glp-dark);
  color: #fff;
}

.glp-consent__button--primary {
  background: var(--glp-orange);
  color: #fff;
}

.glp-consent__button--dark:hover,
.glp-consent__button--primary:hover {
  background: #1b1a1a;
  color: #fff;
}

.glp-consent-modal__dialog > .glp-consent-modal__note {
  margin-top: 13px;
  color: #747474;
  font-size: .74rem;
  text-align: right;
}

.glp-consent-renew {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 2147483645;
  width: 60px;
  height: 60px;
  padding: 11px;
  border: 0;
  border-top-right-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 14px rgba(0, 0, 0, .18);
  color: var(--glp-orange);
  cursor: pointer;
  transform: scale(.78);
  transform-origin: bottom left;
  transition: transform .2s ease;
}

.glp-consent-renew:hover,
.glp-consent-renew:focus-visible {
  transform: scale(1);
}

.glp-consent-renew svg {
  display: block;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.1;
}

html.glp-consent-open {
  overflow: hidden;
}

@media (max-width: 620px) {
  .glp-consent-modal {
    align-items: end;
    padding: 10px;
  }

  .glp-consent-modal__dialog {
    max-height: calc(100vh - 20px);
    padding: 25px 20px 18px;
  }

  .glp-consent-modal__dialog h2 {
    font-size: 1.55rem;
  }

  .glp-consent-modal__links {
    display: grid;
  }

  .glp-consent-options {
    grid-template-columns: 1fr;
    margin: 21px -20px 0;
    padding: 0 20px;
  }

  .glp-consent-option {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 3px 18px;
    align-items: center;
    min-height: 70px;
    padding: 10px 0;
    border-bottom: 1px solid #ddd;
    text-align: left;
  }

  .glp-consent-option:last-child {
    border-bottom: 0;
  }

  .glp-consent-option strong {
    min-height: 0;
    font-size: .88rem;
  }

  .glp-consent-option .glp-consent-switch {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  .glp-consent-option__description {
    grid-column: 1;
    margin: 0;
    font-size: .76rem;
  }

  .glp-consent-modal__actions {
    grid-template-columns: 1fr;
  }

  .glp-consent-modal__actions .glp-consent__button--primary {
    grid-row: 1;
  }

  .glp-consent-modal__dialog > .glp-consent-modal__note {
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .glp-consent-renew,
  .glp-consent-switch,
  .glp-consent-switch::after,
  .glp-consent__button {
    transition: none;
  }
}
