:root {
  --pq-cookie-ink: #f3f0e6;
  --pq-cookie-muted: #b6c0b7;
  --pq-cookie-orange: #f47c3d;
}
.pq-cookie-banner,
.pq-cookie-modal,
.pq-cookie-toast,
.pq-cookie-settings-link {
  font-family: Manrope, Arial, sans-serif;
}
.pq-cookie-banner *,
.pq-cookie-modal *,
.pq-cookie-toast * {
  box-sizing: border-box;
}
.pq-cookie-banner[hidden],
.pq-cookie-modal:not([open]),
.pq-cookie-toast[hidden] {
  display: none !important;
}
.pq-cookie-banner {
  position: fixed;
  box-sizing: border-box;
  bottom: max(24px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  width: min(960px, calc(100% - 48px));
  z-index: 10002;
  color: var(--pq-cookie-ink);
  background: linear-gradient(
    115deg,
    rgba(25, 30, 24, 0.98),
    rgba(12, 17, 14, 0.985)
  );
  border: 1px solid rgba(168, 159, 125, 0.48);
  border-radius: 14px;
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.67),
    inset 0 0 60px rgba(9, 12, 9, 0.35);
}
.pq-cookie-banner__inner {
  display: grid;
  grid-template-columns: 76px minmax(0, 1fr) 190px;
  align-items: center;
  gap: 22px;
  padding: 17px 22px;
  max-height: calc(100dvh - 56px);
  overflow-y: auto;
  border-radius: inherit;
}
.pq-cookie-banner:before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 140px;
  background: radial-gradient(
    ellipse at 0 60%,
    rgba(201, 73, 27, 0.18),
    transparent 66%
  );
  border-radius: inherit;
  pointer-events: none;
}
.pq-cookie-banner__art {
  display: grid;
  place-items: center;
  height: 64px;
  border-right: 1px solid #654931;
  position: relative;
}
.pq-cookie-banner__art img {
  width: 54px;
  height: 54px;
}
.pq-cookie-banner__copy {
  position: relative;
  min-width: 0;
}
.pq-cookie-banner__title,
.pq-cookie-modal__title {
  font-family: Oswald, "Roboto Condensed", "Arial Narrow", Impact, sans-serif;
  font-weight: 600;
  font-stretch: condensed;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  line-height: 1.1;
}
.pq-cookie-banner__title {
  font-size: 28px;
  margin: 0 0 8px;
}
.pq-cookie-banner__description {
  color: #d1d8d0;
  font-size: 13px;
  line-height: 1.5;
  margin: 0 0 6px;
}
.pq-cookie-banner__policy {
  color: var(--pq-cookie-orange);
  font-size: 12px;
  text-decoration: none;
  font-weight: 600;
}
.pq-cookie-banner__policy:hover,
.pq-cookie-modal a:hover {
  text-decoration: underline;
}
.pq-cookie-banner__buttons {
  display: flex;
  flex-direction: column;
  gap: 6px;
  min-width: 0;
}
.pq-cookie-banner__buttons .pq-cookie-btn {
  min-height: 36px;
  padding: 7px 10px;
  font-size: 12px;
}
.pq-cookie-banner__buttons .pq-cookie-btn--text {
  min-height: 27px;
}
.pq-cookie-btn {
  border: 1px solid transparent;
  border-radius: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 52px;
  padding: 13px 19px;
  line-height: 1.25;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition:
    border-color 0.15s,
    background 0.15s,
    transform 0.15s;
}
.pq-cookie-btn:hover {
  transform: translateY(-1px);
}
.pq-cookie-btn:focus-visible,
.pq-cookie-toggle input:focus-visible + span,
.pq-cookie-close:focus-visible,
.pq-cookie-banner__close:focus-visible {
  outline: 2px solid var(--pq-cookie-orange);
  outline-offset: 3px;
}
.pq-cookie-btn--primary {
  background: var(--pq-cookie-orange);
  color: #0b0e0c;
}
.pq-cookie-btn--primary:hover {
  background: #ff8d50;
}
.pq-cookie-btn--outline {
  border-color: #a9653e;
  background: transparent;
  color: #f3f0e6;
}
.pq-cookie-btn--outline:hover {
  background: rgba(244, 124, 61, 0.11);
}
.pq-cookie-btn--text {
  background: none;
  color: var(--pq-cookie-orange);
  min-height: 36px;
  border-color: transparent;
}
.pq-cookie-btn--text:hover {
  background: rgba(244, 124, 61, 0.08);
}
.pq-cookie-modal::backdrop {
  background: rgba(4, 7, 5, 0.8);
  backdrop-filter: blur(7px);
}
.pq-cookie-modal {
  position: fixed;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  inset: auto;
  margin: 0;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: min(645px, calc(100vw - 28px));
  max-width: none;
  max-height: min(850px, calc(100vh - 28px));
  max-height: min(850px, calc(100dvh - 28px));
  overflow: hidden;
  background: #171e19;
  color: var(--pq-cookie-ink);
  border: 1px solid #57604f;
  border-radius: 14px;
  box-shadow: 0 40px 120px #000a;
  padding: 33px 35px;
}
.pq-cookie-modal__body {
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.pq-cookie-modal__top {
  display: flex;
  flex-shrink: 0;
  justify-content: space-between;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 13px;
}
.pq-cookie-modal__title {
  font-size: 35px;
  margin: 0;
}
.pq-cookie-close {
  background: transparent;
  color: var(--pq-cookie-ink);
  border: 1px solid #4a5349;
  border-radius: 5px;
  width: 42px;
  height: 42px;
  flex: none;
  cursor: pointer;
  font-size: 25px;
  line-height: 1;
}
.pq-cookie-modal__intro {
  color: var(--pq-cookie-muted);
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 20px;
}
.pq-cookie-modal__intro a,
.pq-cookie-modal__fineprint a {
  color: var(--pq-cookie-orange);
}
.pq-cookie-category {
  border-top: 1px solid #3c473f;
  padding: 17px 0 14px;
}
.pq-cookie-category__main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}
.pq-cookie-category__title {
  font-size: 16px;
  line-height: 1.35;
  margin: 0 0 3px;
  font-weight: 700;
  color: #f3f0e6;
}
.pq-cookie-category__desc {
  font-size: 12.5px;
  line-height: 1.55;
  margin: 0;
  color: #aeb7ae;
}
.pq-cookie-category__status {
  display: block;
  white-space: nowrap;
  color: #c0cfbd;
  font-size: 12px;
  padding: 9px 0;
}
.pq-cookie-toggle {
  display: inline-block;
  position: relative;
  width: 48px;
  height: 27px;
  flex: none;
  cursor: pointer;
}
.pq-cookie-toggle input {
  position: absolute;
  opacity: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  cursor: pointer;
}
.pq-cookie-toggle span {
  position: absolute;
  pointer-events: none;
  inset: 0;
  background: #49504a;
  border: 1px solid #667264;
  border-radius: 20px;
  transition: background 0.2s;
}
.pq-cookie-toggle span:after {
  content: "";
  position: absolute;
  left: 3px;
  top: 3px;
  width: 19px;
  height: 19px;
  background: #e5e8df;
  border-radius: 50%;
  transition: transform 0.2s;
}
.pq-cookie-toggle input:checked + span {
  background: #f47c3d;
  border-color: #f47c3d;
}
.pq-cookie-toggle input:checked + span:after {
  transform: translateX(21px);
  background: #121713;
}
.pq-cookie-category__expand {
  color: #f47c3d;
  background: none;
  border: 0;
  padding: 8px 0 0;
  cursor: pointer;
  font-size: 12px;
  font-weight: 600;
}
.pq-cookie-category__details {
  font-size: 12px;
  line-height: 1.6;
  color: #bac3b8;
  margin: 8px 0 0;
  border-left: 2px solid #f47c3d;
  padding-left: 11px;
}
.pq-cookie-modal__fineprint {
  font-size: 12px;
  line-height: 1.55;
  color: #9da99e;
  margin: 13px 0 19px;
}
.pq-cookie-modal__actions {
  display: grid;
  flex-shrink: 0;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  border-top: 1px solid #3c473f;
  padding-top: 18px;
}
.pq-cookie-modal__actions .pq-cookie-btn--primary {
  grid-column: 1/-1;
}
.pq-cookie-toast {
  position: fixed;
  z-index: 10005;
  right: 24px;
  bottom: 24px;
  padding: 12px 14px 12px 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #eef3ec;
  border: 1px solid #63705c;
  border-radius: 7px;
  background: #1c261f;
  box-shadow: 0 12px 35px #0008;
  font-size: 14px;
}
.pq-cookie-toast button {
  border: 1px solid #99704b;
  color: #ff944f;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  padding: 9px 13px;
}
.pq-cookie-settings-link {
  background: none;
  color: inherit;
  border: none;
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
  justify-self: start;
  padding: 0;
}
.pq-cookie-settings-link[hidden] {
  display: none;
}
.pq-cookie-settings-link:hover {
  color: var(--pq-cookie-orange);
}
@media (max-width: 640px) {
  .pq-cookie-banner {
    bottom: max(10px, env(safe-area-inset-bottom));
    border-radius: 11px;
  }
  .pq-cookie-banner__inner {
    display: block;
    padding: 13px;
    max-height: calc(100dvh - 38px);
  }
  .pq-cookie-banner__art {
    display: none;
  }
  .pq-cookie-banner__title {
    font-size: clamp(20px, 5.7vw, 24px);
    margin-bottom: 6px;
    padding-inline-end: 10px;
  }
  .pq-cookie-banner__description {
    font-size: 12px;
  }
  .pq-cookie-banner__buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 8px;
  }
  .pq-cookie-banner__buttons .pq-cookie-btn {
    min-height: 44px;
    padding-inline: 5px;
  }
  .pq-cookie-banner__buttons .pq-cookie-btn--text {
    grid-column: 1/-1;
    min-height: 44px;
    padding-block: 0;
  }
}
@media (max-width: 600px) {
  .pq-cookie-btn {
    min-height: 45px;
    font-size: 13px;
  }
  .pq-cookie-modal {
    padding: 16px 18px;
    border-radius: 9px;
  }
  .pq-cookie-modal__title {
    font-size: clamp(24px, 7.3vw, 30px);
  }
  .pq-cookie-category__main {
    gap: 12px;
  }
  .pq-cookie-category__title {
    font-size: 15px;
  }
  .pq-cookie-modal__actions {
    padding-top: 10px;
    gap: 7px;
  }
  .pq-cookie-modal__actions .pq-cookie-btn {
    padding: 8px 5px;
  }
  .pq-cookie-toast {
    bottom: 10px;
    right: 10px;
    left: 10px;
    justify-content: space-between;
    font-size: 12px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pq-cookie-btn,
  .pq-cookie-toggle span,
  .pq-cookie-toggle span:after {
    transition: none;
  }
}

.pq-cookie-banner__close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--pq-cookie-ink);
  cursor: pointer;
  transform: translate(50%, -50%);
}
.pq-cookie-banner__close::before {
  content: "";
  grid-area: 1 / 1;
  width: 30px;
  height: 30px;
  border: 1px solid #6a7062;
  border-radius: 50%;
  background: #1b221c;
  box-shadow: 0 3px 12px #0008;
}
.pq-cookie-banner__close:hover::before {
  border-color: var(--pq-cookie-orange);
}
.pq-cookie-banner__close .icon {
  grid-area: 1 / 1;
  position: relative;
  width: 15px;
  height: 15px;
}
html:has(.pq-cookie-modal[open]) {
  overflow: hidden;
}
