/**
 * Jednotné tlačítko „Zpět nahoru“ pro celý web Parní Kaktus
 * Použijte společně se scripty/back-to-top.js
 *
 * Skrytí systémového scrollbaru (šedý pruh vpravo)
 */
html {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
html::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.pk-back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 50%;
  background: rgba(47, 107, 31, 0.9);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 6px 20px rgba(47, 107, 31, 0.35);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, box-shadow 0.2s ease;
}

.pk-back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.pk-back-to-top:hover {
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 10px 28px rgba(47, 107, 31, 0.45);
  background: rgba(47, 107, 31, 1);
}

.pk-back-to-top:active {
  transform: translateY(-2px) scale(1.02);
}

.pk-back-to-top svg {
  width: 1.35rem;
  height: 1.35rem;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

@media (max-width: 768px) {
  .pk-back-to-top {
    bottom: 1.5rem;
    right: 1.5rem;
    width: 3rem;
    height: 3rem;
  }
  .pk-back-to-top svg {
    width: 1.2rem;
    height: 1.2rem;
  }
}
