﻿/* =====================================================================
   pk-pill: klikatelná pilulka pro parametrické stránky
   ===================================================================== */


ul.pk-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  width: 100%;
  margin: 16px 0;
  padding: 0;
  list-style: none;
  font-family: inherit;
  font-size: inherit;
}
ul.pk-pills > li {
  max-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
  text-indent: 0;
}
ul.pk-pills > li::before {
  content: none;
  display: none;
}
ul.pk-pills > li::marker {
  content: "";
}


/* ---------- pilulka ---------- */
a.pk-pill {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  max-width: 100%;
  min-height: 36px;
  padding: 7px 16px;
  border: 1px solid #dcdcdc;
  border-radius: 999px;
  background: #ffffff;
  color: #343434;
  font-family: inherit;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.3;
  text-decoration: none;
  overflow-wrap: anywhere;
  cursor: pointer;
  transition: border-color .18s ease, color .18s ease, transform .12s ease;
}
a.pk-pill strong {
  display: inline;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 700;
}


/* ---------- stavy ---------- */
a.pk-pill:hover,
a.pk-pill:focus {
  border-color: #f56b00;
  color: #c85700;
  text-decoration: none;
}
a.pk-pill:focus-visible {
  outline: 2px solid #f56b00;
  outline-offset: 2px;
}
a.pk-pill:active {
  transform: translateY(1px);
}


/* ---------- modifikátory ---------- */
a.pk-pill--accent {
  border-color: #f56b00;
  color: #c85700;
}


a.pk-pill.is-active,
a.pk-pill[aria-current="page"] {
  border-color: #343434;
  background: #f2f2f2;
  color: #343434;
  cursor: default;
  pointer-events: none;
}


/* ---------- media queries ---------- */
@media (max-width: 640px) {
  ul.pk-pills {
    gap: 6px;
  }
  a.pk-pill {
    min-height: 34px;
    padding: 6px 14px;
  }
}


@media (prefers-reduced-motion: reduce) {
  a.pk-pill {
    transition: none;
  }
}