.cookie-consent {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 1000;
  width: min(620px, calc(100vw - 36px));
  color: #090907;
  font-family: Manrope, sans-serif;
}

.cookie-consent[hidden] {
  display: none;
}

.cookie-consent__panel {
  overflow: hidden;
  background: #fffdf6;
  border: 2px solid #090907;
  box-shadow: 10px 10px 0 #090907;
}

.cookie-consent__stripe {
  height: 8px;
  background: linear-gradient(90deg, #ff3b30 0 48%, #c9ff4a 48% 100%);
  border-bottom: 2px solid #090907;
}

.cookie-consent__body {
  padding: 22px;
}

.cookie-consent__eyebrow {
  margin: 0 0 9px;
  color: #d51f17;
  font: 800 11px/1.2 "IBM Plex Mono", monospace;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.cookie-consent h2 {
  margin: 0;
  font: 800 clamp(21px, 4vw, 29px)/1.08 Unbounded, Manrope, sans-serif;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.cookie-consent p {
  margin: 13px 0 0;
  color: #43423d;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-consent a {
  color: inherit;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.cookie-consent__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
  margin-top: 18px;
}

.cookie-consent button,
.cookie-settings-link {
  appearance: none;
  border: 2px solid #090907;
  border-radius: 0;
  cursor: pointer;
  font: 800 13px/1.2 Manrope, sans-serif;
}

.cookie-consent__button {
  min-height: 46px;
  padding: 11px 14px;
  background: #fffdf6;
  color: #090907;
  box-shadow: 4px 4px 0 #090907;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.cookie-consent__button:hover {
  background: #f0eadc;
}

.cookie-consent__button:active {
  transform: translate(3px, 3px);
  box-shadow: 1px 1px 0 #090907;
}

.cookie-consent__button--accept {
  background: #ff3b30;
}

.cookie-consent__button--accept:hover {
  background: #f02f25;
}

.cookie-consent__button--settings {
  grid-column: 1 / -1;
  min-height: 36px;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.cookie-consent__settings {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 2px solid #090907;
}

.cookie-consent__choice {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 3px 10px;
  align-items: start;
  padding: 12px;
  border: 1px solid #090907;
  background: #f3eee2;
}

.cookie-consent__choice + .cookie-consent__choice {
  margin-top: 8px;
}

.cookie-consent__choice input {
  width: 18px;
  height: 18px;
  margin: 1px 0 0;
  accent-color: #ff3b30;
}

.cookie-consent__choice strong {
  font-size: 14px;
}

.cookie-consent__choice small {
  grid-column: 2;
  color: #5d5b52;
  line-height: 1.4;
}

.cookie-consent__settings-actions {
  display: flex;
  justify-content: flex-end;
  gap: 9px;
  margin-top: 12px;
}

.cookie-settings-link {
  padding: 0;
  border: 0;
  background: transparent;
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 620px) {
  .cookie-consent {
    right: 10px;
    bottom: 10px;
    width: calc(100vw - 20px);
  }

  .cookie-consent__panel {
    box-shadow: 6px 6px 0 #090907;
  }

  .cookie-consent__body {
    padding: 17px;
  }

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

  .cookie-consent__button--settings {
    grid-column: auto;
  }

  .cookie-consent__settings-actions {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cookie-consent__button {
    transition: none;
  }
}
