/* ============================================================
   GDPR CONSENT
   ============================================================ */
.wl-consent,
.wl-consent-modal {
  position: fixed;
  z-index: 99999;
  font-family: var(--sans);
}

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

.wl-consent {
  right: 20px;
  bottom: 20px;
  left: 20px;
  pointer-events: none;
}

.wl-consent__panel {
  width: min(1120px, 100%);
  margin-left: auto;
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 22px;
  align-items: center;
  padding: 20px;
  color: var(--ink);
  background: rgba(255, 255, 255, .97);
  border: 1px solid rgba(20, 21, 28, .12);
  border-radius: 8px;
  box-shadow: 0 26px 80px rgba(20, 21, 28, .24);
  pointer-events: auto;
  backdrop-filter: blur(18px);
}

.wl-consent__mark {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  color: var(--black);
  background: var(--yellow);
  border-radius: 8px;
  box-shadow: 0 12px 26px rgba(254, 240, 19, .34);
}

.wl-consent__mark svg,
.wl-consent-modal__close svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

.wl-consent__eyebrow {
  margin: 0 0 5px;
  color: var(--red);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.wl-consent h2,
.wl-consent-modal h2 {
  margin: 0;
  color: var(--black);
  font-family: var(--serif);
  font-size: 31px;
  font-weight: 900;
  line-height: .94;
  text-transform: uppercase;
}

.wl-consent__copy p:not(.wl-consent__eyebrow) {
  max-width: 690px;
  margin: 8px 0 0;
  color: var(--steel);
  font-size: 14px;
  line-height: 1.55;
}

.wl-consent__links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 11px;
}

.wl-consent__links a {
  color: var(--black);
  font-size: 12px;
  font-weight: 850;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.wl-consent__actions,
.wl-consent-modal__foot {
  display: flex;
  gap: 9px;
  justify-content: flex-end;
}

.wl-consent__actions {
  flex-direction: column;
  min-width: 205px;
}

.wl-consent__btn {
  min-height: 43px;
  padding: 11px 16px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 900;
  line-height: 1.15;
  text-align: center;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease, border-color .18s ease;
}

.wl-consent__btn:hover,
.wl-consent__btn:focus-visible {
  transform: translateY(-1px);
  outline: none;
}

.wl-consent__btn--primary {
  color: var(--black);
  background: var(--yellow);
  box-shadow: 0 12px 24px rgba(254, 240, 19, .28);
}

.wl-consent__btn--light {
  color: var(--black);
  background: white;
  border-color: rgba(20, 21, 28, .16);
}

.wl-consent__btn--ghost {
  color: var(--steel);
  background: transparent;
  border-color: rgba(20, 21, 28, .14);
}

.wl-consent-modal {
  inset: 0;
  display: grid;
  place-items: center;
  padding: 22px;
}

.wl-consent-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(20, 21, 28, .68);
  backdrop-filter: blur(8px);
}

.wl-consent-modal__panel {
  position: relative;
  width: min(720px, 100%);
  max-height: min(760px, calc(100vh - 44px));
  overflow: auto;
  background: #fff;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 8px;
  box-shadow: 0 34px 90px rgba(0, 0, 0, .34);
}

.wl-consent-modal__head,
.wl-consent-modal__body,
.wl-consent-modal__foot {
  padding: 24px;
}

.wl-consent-modal__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  border-bottom: 1px solid var(--line);
}

.wl-consent-modal__close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--black);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
  cursor: pointer;
}

.wl-consent-modal__body {
  display: grid;
  gap: 12px;
}

.wl-consent-toggle {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 16px;
  align-items: center;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  cursor: pointer;
}

.wl-consent-toggle--locked {
  cursor: default;
  background: #fff;
}

.wl-consent-toggle input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.wl-consent-toggle__ui {
  position: relative;
  width: 50px;
  height: 28px;
  background: #c9ced8;
  border-radius: 999px;
  transition: background .18s ease;
}

.wl-consent-toggle__ui::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 4px;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  box-shadow: 0 3px 9px rgba(0, 0, 0, .18);
  transition: transform .18s ease;
}

.wl-consent-toggle input:checked + .wl-consent-toggle__ui {
  background: var(--red);
}

.wl-consent-toggle input:checked + .wl-consent-toggle__ui::after {
  transform: translateX(22px);
}

.wl-consent-toggle strong {
  display: block;
  color: var(--black);
  font-size: 16px;
  font-weight: 900;
}

.wl-consent-toggle small {
  display: block;
  margin-top: 4px;
  color: var(--steel);
  font-size: 13px;
  line-height: 1.5;
}

.wl-consent-modal__foot {
  flex-wrap: wrap;
  border-top: 1px solid var(--line);
}

.wl-consent-open {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 900px) {
  .wl-consent__panel {
    grid-template-columns: 52px minmax(0, 1fr);
  }
  .wl-consent__mark {
    width: 52px;
    height: 52px;
  }
  .wl-consent__actions {
    grid-column: 1 / -1;
    min-width: 0;
    flex-direction: row;
    flex-wrap: wrap;
  }
  .wl-consent__btn {
    flex: 1 1 170px;
  }
}

@media (max-width: 560px) {
  .wl-consent {
    right: 10px;
    bottom: 10px;
    left: 10px;
  }
  .wl-consent__panel {
    display: block;
    padding: 18px;
  }
  .wl-consent__mark {
    margin-bottom: 14px;
  }
  .wl-consent h2,
  .wl-consent-modal h2 {
    font-size: 26px;
  }
  .wl-consent__actions {
    margin-top: 16px;
  }
  .wl-consent-modal {
    padding: 10px;
    align-items: end;
  }
  .wl-consent-modal__panel {
    max-height: calc(100vh - 20px);
  }
  .wl-consent-modal__head,
  .wl-consent-modal__body,
  .wl-consent-modal__foot {
    padding: 18px;
  }
}
