:root {
  --vc-cookie-accent: #295a85;
  --vc-cookie-ink: #0f2030;
  --vc-cookie-muted: #52697d;
  --vc-cookie-line: #d9e5ee;
  --vc-cookie-soft: #edf5fa;
}

.vc-cookie[hidden],
.vc-cookie-reopen[hidden],
.vc-cookie__details[hidden] {
  display: none !important;
}

.vc-cookie {
  position: fixed;
  inset: auto 0 0;
  z-index: 2147483000;
  color: var(--vc-cookie-ink);
  background: rgba(255, 255, 255, .98);
  border-top: 1px solid var(--vc-cookie-line);
  box-shadow: 0 -20px 60px rgba(15, 32, 48, .14);
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .2s ease, transform .2s ease;
  font-family: inherit;
}

.vc-cookie.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vc-cookie__inner {
  width: min(1440px, 100%);
  margin: 0 auto;
  padding: 24px clamp(20px, 4vw, 64px);
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr) minmax(210px, 260px);
  align-items: center;
  gap: 30px;
}

.vc-cookie__icon {
  position: relative;
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: #d7e8f3;
  border: 3px solid #a9c8dc;
}

.vc-cookie__icon::after {
  content: "";
  position: absolute;
  width: 38px;
  height: 38px;
  right: -5px;
  top: -5px;
  border-radius: 50%;
  background: white;
}

.vc-cookie__icon span,
.vc-cookie__icon i {
  position: absolute;
  display: block;
  border-radius: 50%;
  background: var(--vc-cookie-accent);
}

.vc-cookie__icon span { width: 13px; height: 13px; left: 27px; top: 31px; }
.vc-cookie__icon i:nth-child(2) { width: 10px; height: 10px; left: 56px; top: 25px; }
.vc-cookie__icon i:nth-child(3) { width: 12px; height: 12px; right: 22px; top: 52px; }
.vc-cookie__icon i:nth-child(4) { width: 10px; height: 10px; left: 24px; bottom: 29px; }
.vc-cookie__icon i:nth-child(5) { width: 14px; height: 14px; left: 52px; bottom: 20px; }

.vc-cookie__content h2 {
  margin: 0;
  color: var(--vc-cookie-ink);
  font-size: clamp(20px, 2vw, 27px);
  line-height: 1.15;
  letter-spacing: -.02em;
}

.vc-cookie__content > p {
  max-width: 820px;
  margin: 9px 0 0;
  color: var(--vc-cookie-muted);
  font-size: 14px;
  line-height: 1.55;
}

.vc-cookie__choices {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 28px;
  margin-top: 18px;
}

.vc-cookie__choice {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--vc-cookie-ink);
  font-size: 14px;
  font-weight: 650;
  cursor: pointer;
}

.vc-cookie__choice input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.vc-cookie__choice b {
  order: -1;
  position: relative;
  width: 48px;
  height: 26px;
  border-radius: 999px;
  background: #91a9bb;
  box-shadow: inset 0 0 0 1px rgba(15, 32, 48, .1);
  transition: background .2s ease;
}

.vc-cookie__choice b::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 22px;
  left: 2px;
  top: 2px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 5px rgba(15, 32, 48, .25);
  transition: transform .2s ease;
}

.vc-cookie__choice input:checked + b {
  background: var(--vc-cookie-accent);
}

.vc-cookie__choice input:checked + b::after {
  transform: translateX(22px);
}

.vc-cookie__choice input:focus-visible + b {
  outline: 3px solid rgba(41, 90, 133, .28);
  outline-offset: 2px;
}

.vc-cookie__choice input:disabled + b {
  opacity: .72;
}

.vc-cookie__details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.vc-cookie__details article {
  padding: 13px 15px;
  border: 1px solid var(--vc-cookie-line);
  background: var(--vc-cookie-soft);
}

.vc-cookie__details strong {
  display: block;
  font-size: 13px;
}

.vc-cookie__details p {
  margin: 5px 0 0;
  color: var(--vc-cookie-muted);
  font-size: 12px;
  line-height: 1.5;
}

.vc-cookie__actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}

.vc-cookie__actions button,
.vc-cookie-reopen {
  appearance: none;
  border: 1px solid var(--vc-cookie-accent);
  border-radius: 0;
  background: var(--vc-cookie-accent);
  color: #fff;
  font: 700 13px/1.2 inherit;
  letter-spacing: .01em;
  cursor: pointer;
  min-height: 44px;
  padding: 12px 15px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}

.vc-cookie__actions button:hover,
.vc-cookie__actions button:focus-visible,
.vc-cookie-reopen:hover,
.vc-cookie-reopen:focus-visible {
  background: #183f62;
}

.vc-cookie__actions button:active,
.vc-cookie-reopen:active {
  transform: translateY(1px);
}

.vc-cookie__actions .is-secondary {
  color: var(--vc-cookie-accent);
  background: var(--vc-cookie-soft);
}

.vc-cookie__actions .is-secondary:hover,
.vc-cookie__actions .is-secondary:focus-visible {
  color: var(--vc-cookie-ink);
  background: #dceaf3;
}

.vc-cookie__status {
  min-height: 0;
  margin: 0 !important;
  font-size: 12px !important;
}

.vc-cookie-reopen {
  position: fixed;
  z-index: 2147482000;
  right: 18px;
  bottom: 18px;
  min-height: 38px;
  padding: 10px 14px;
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(15, 32, 48, .2);
  font-size: 12px;
}

@media (max-width: 900px) {
  .vc-cookie__inner {
    grid-template-columns: 1fr;
    gap: 18px;
    max-height: min(88vh, 760px);
    overflow-y: auto;
    padding: 22px 20px calc(22px + env(safe-area-inset-bottom));
  }

  .vc-cookie__icon {
    display: none;
  }

  .vc-cookie__actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 540px) {
  .vc-cookie__content h2 {
    font-size: 21px;
  }

  .vc-cookie__choices,
  .vc-cookie__details {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vc-cookie__choice {
    justify-content: space-between;
  }

  .vc-cookie__choice b {
    order: 2;
  }

  .vc-cookie__actions {
    grid-template-columns: 1fr;
  }

  .vc-cookie__actions button {
    min-height: 42px;
  }

  .vc-cookie-reopen {
    right: 12px;
    bottom: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vc-cookie,
  .vc-cookie__choice b,
  .vc-cookie__choice b::after,
  .vc-cookie__actions button,
  .vc-cookie-reopen {
    transition: none;
  }
}
