.cookie-consent {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 1090;
  color: var(--c-grey-dark);
  background: var(--c-beige);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.35);
}

.cookie-consent__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 1.75rem;
}

.cookie-consent__text {
  margin: 0;
  max-width: 62.5rem;
  font-size: 1rem;
  line-height: 1.4;
}

.cookie-consent__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 0.75rem;
}

.cookie-consent__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 10rem;
  height: 3.5rem;
  padding: 0 1.5rem;
  border: 0.0625rem solid var(--c-grey-dark);
  border-radius: 0;
  font: inherit;
  font-size: 1rem;
  line-height: 1;
  text-decoration: none;
  cursor: pointer;
  transition: color 0.2s, background-color 0.2s;
}

.cookie-consent__button--details {
  color: var(--c-grey-dark);
  background: transparent;
}

.cookie-consent__button--accept {
  color: var(--c-beige);
  background: var(--c-grey-dark);
}

.cookie-consent__button:hover,
.cookie-consent__button:focus-visible {
  color: #fff;
  background: var(--c-grey-dark);
  text-decoration: none;
  outline: none;
}

.cookie-consent__button--accept:hover,
.cookie-consent__button--accept:focus-visible {
  color: var(--c-grey-dark);
  background: #fff;
}

@media (max-width: 991px) {
  .cookie-consent {
    right: 0.75rem;
    bottom: 0.75rem;
    left: 0.75rem;
  }

  .cookie-consent__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 1.25rem;
    padding: 1.25rem;
  }

  .cookie-consent__text {
    max-width: none;
    font-size: 0.875rem;
  }

  .cookie-consent__actions {
    width: 100%;
  }

  .cookie-consent__button {
    flex: 1 1 50%;
    min-width: 0;
    height: 3.25rem;
    padding: 0 0.75rem;
    font-size: 0.875rem;
  }
}
