.vow-cookie-consent[hidden],
.vow-cookie-settings[hidden] {
  display: none !important;
}

.vow-cookie-consent {
  position: fixed;
  inset: 0;
  z-index: 1085;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem;
  background: rgba(18, 25, 38, 0.48);
}

.vow-cookie-consent__panel {
  width: min(100%, 46rem);
  max-height: min(88vh, 48rem);
  overflow: auto;
  padding: 1.5rem;
  color: #1f2937;
  background: #fff;
  border: 1px solid rgba(18, 25, 38, 0.12);
  border-radius: 8px;
  box-shadow: 0 1.25rem 4rem rgba(18, 25, 38, 0.24);
}

.vow-cookie-consent__panel:focus {
  outline: 3px solid rgba(245, 130, 32, 0.45);
  outline-offset: 4px;
}

.vow-cookie-consent__header {
  display: grid;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.vow-cookie-consent__eyebrow {
  margin: 0;
  color: #f58220;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.vow-cookie-consent h2 {
  margin: 0;
  color: #172033;
  font-size: 1.35rem;
  line-height: 1.25;
}

.vow-cookie-consent__intro {
  margin: 0 0 1rem;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.6;
}

.vow-cookie-consent__intro a,
.vow-cookie-consent__choice a {
  color: #c65f00;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.vow-cookie-consent__choices {
  display: grid;
  gap: 0.75rem;
  margin: 0 0 1rem;
  padding: 0;
  border: 0;
}

.vow-cookie-consent__choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.75rem;
  align-items: start;
  padding: 0.9rem;
  border: 1px solid #d8dee8;
  border-radius: 8px;
  background: #fff;
}

.vow-cookie-consent__choice--disabled {
  background: #f7f9fc;
}

.vow-cookie-consent__choice input {
  width: 1.15rem;
  height: 1.15rem;
  margin-top: 0.2rem;
  accent-color: #f58220;
}

.vow-cookie-consent__choice strong {
  display: block;
  margin-bottom: 0.15rem;
  color: #172033;
  font-size: 1rem;
  line-height: 1.3;
}

.vow-cookie-consent__choice small {
  display: block;
  color: #5f6b7a;
  font-size: 0.9rem;
  line-height: 1.45;
}

.vow-cookie-consent__actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.vow-cookie-consent__button,
.vow-cookie-settings {
  min-height: 2.75rem;
  padding: 0.72rem 1rem;
  border-radius: 999px;
  font: inherit;
  font-weight: 700;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.vow-cookie-consent__button:focus-visible,
.vow-cookie-settings:focus-visible,
.vow-cookie-consent__choice input:focus-visible,
.vow-cookie-consent__intro a:focus-visible {
  outline: 3px solid rgba(245, 130, 32, 0.5);
  outline-offset: 3px;
}

.vow-cookie-consent__button--primary {
  color: #fff;
  border: 1px solid #f58220;
  background: #f58220;
}

.vow-cookie-consent__button--secondary {
  color: #172033;
  border: 1px solid #9aa6b7;
  background: #fff;
}

.vow-cookie-consent__button--tertiary {
  color: #fff;
  border: 1px solid #172033;
  background: #172033;
}

.vow-cookie-consent__button:hover,
.vow-cookie-settings:hover {
  box-shadow: 0 0.45rem 1.2rem rgba(18, 25, 38, 0.16);
}

.vow-cookie-settings {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 1060;
  color: #172033;
  border: 1px solid rgba(18, 25, 38, 0.18);
  background: #fff;
  box-shadow: 0 0.75rem 2rem rgba(18, 25, 38, 0.18);
}

@media (max-width: 767.98px) {
  .vow-cookie-consent {
    padding: 0.75rem;
  }

  .vow-cookie-consent__panel {
    max-height: 90vh;
    padding: 1.15rem;
  }

  .vow-cookie-consent__actions {
    grid-template-columns: 1fr;
  }

  .vow-cookie-settings {
    right: 1rem;
    left: 1rem;
  }
}
