/* Back to top + cookie notice */

.wiola-back-to-top {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 900;
  width: 2.75rem;
  height: 2.75rem;
  border: none;
  border-radius: 50%;
  background: var(--wiola-accent);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  font-size: 1.1rem;
}

.wiola-back-to-top[hidden] {
  display: none;
}

.wiola-cookie {
  position: fixed;
  left: 1rem;
  right: 1rem;
  bottom: 1rem;
  z-index: 950;
  max-width: 28rem;
  margin-inline: auto;
  padding: 1rem 1.1rem;
  background: #1f1e1c;
  color: #fff;
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

.wiola-cookie[hidden] {
  display: none;
}

.wiola-cookie p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  min-width: 12rem;
}

@media (min-width: 640px) {
  .wiola-cookie {
    left: auto;
    right: 1.25rem;
    margin-inline: 0 0 auto;
  }
}
