#wyniki-public-catalog.wyniki-page {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #0f172a;
  line-height: 1.55;
}

#wyniki-public-catalog .wyniki-stats {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin: 0 0 1.25rem;
}

@media (min-width: 520px) {
  #wyniki-public-catalog .wyniki-stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

#wyniki-public-catalog .wyniki-stat {
  position: relative;
  min-width: 0;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.1rem 1.25rem 1.1rem 3.25rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
}

#wyniki-public-catalog .wyniki-stat::before {
  content: '';
  position: absolute;
  left: 1.1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 10px;
  background: rgba(220, 38, 38, 0.1) center / 16px no-repeat;
}

#wyniki-public-catalog .wyniki-stat:first-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath d='M12 2l2.4 7.4H22l-6 4.6 2.3 7-6.3-4.6L5.7 21l2.3-7-6-4.6h7.6z'/%3E%3C/svg%3E");
  background-size: 18px;
  background-repeat: no-repeat;
  background-position: center;
}

#wyniki-public-catalog .wyniki-stat:last-child::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M16 11c1.7 0 3-1.3 3-3s-1.3-3-3-3-3 1.3-3 3 1.3 3 3 3zm-8 0c1.7 0 3-1.3 3-3S9.7 5 8 5 5 6.3 5 8s1.3 3 3 3zm0 2c-2.7 0-8 1.3-8 4v2h16v-2c0-2.7-5.3-4-8-4zm8 0c-.3 0-.6 0-1 .1 1.2.8 2 1.9 2 3.9v2h7v-2c0-2.7-5.3-4-8-4z'/%3E%3C/svg%3E");
  background-size: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-color: rgba(37, 99, 235, 0.1);
}

#wyniki-public-catalog .wyniki-stat strong {
  display: block;
  font-size: 1.55rem;
  color: #dc2626;
  line-height: 1.2;
}

#wyniki-public-catalog .wyniki-stat span {
  font-size: 0.875rem;
  color: #64748b;
}

#wyniki-public-catalog .wyniki-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
  padding: 1.15rem 1.15rem;
  background: #f1f5f9;
  border-radius: 18px;
  border: 1px solid #e2e8f0;
}

@media (min-width: 768px) {
  #wyniki-public-catalog .wyniki-search {
    grid-template-columns: repeat(3, 1fr) auto;
    align-items: end;
    gap: 0.75rem;
  }
}

#wyniki-public-catalog .wyniki-search label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 0.35rem;
}

#wyniki-public-catalog .wyniki-search input {
  width: 100%;
  min-height: 44px;
  padding: 0.6rem 0.85rem;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  font-size: 0.95rem;
  background: #fff;
}

#wyniki-public-catalog .wyniki-search input:focus {
  outline: 2px solid rgba(220, 38, 38, 0.25);
  border-color: #dc2626;
}

#wyniki-public-catalog .wyniki-search-submit {
  display: flex;
  align-items: flex-end;
}

#wyniki-public-catalog .wyniki-search-submit .wyniki-btn-primary {
  width: 100%;
  min-height: 44px;
  justify-content: center;
}

@media (min-width: 768px) {
  #wyniki-public-catalog .wyniki-search-submit .wyniki-btn-primary {
    min-width: 120px;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

#wyniki-public-catalog .wyniki-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

#wyniki-public-catalog .wyniki-chip {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 0.85rem;
  cursor: pointer;
  font-weight: 600;
  color: #64748b;
}

#wyniki-public-catalog .wyniki-chip.is-active {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}

#wyniki-public-catalog .wyniki-list-card {
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 1.15rem 1.35rem;
  margin-bottom: 0.75rem;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: space-between;
  background: #fff;
}

#wyniki-public-catalog .wyniki-list-card > div:first-child {
  flex: 1 1 240px;
  min-width: 0;
}

#wyniki-public-catalog .wyniki-list-card > div:last-child {
  flex-shrink: 0;
}

#wyniki-public-catalog .wyniki-list-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.15rem;
  font-weight: 700;
  color: #0f172a;
  line-height: 1.3;
}

#wyniki-public-catalog .wyniki-meta {
  font-size: 0.8125rem;
  color: #64748b;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

#wyniki-public-catalog .wyniki-meta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.65rem 0.28rem 0.5rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.78rem;
  line-height: 1.25;
  margin: 0;
  font-family: inherit;
}

#wyniki-public-catalog button.wyniki-meta-chip {
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
}

#wyniki-public-catalog button.wyniki-meta-chip:hover {
  filter: brightness(0.97);
  box-shadow: 0 1px 4px rgba(15, 23, 42, 0.1);
}

#wyniki-public-catalog button.wyniki-meta-chip:focus-visible {
  outline: 2px solid #dc2626;
  outline-offset: 2px;
}

#wyniki-public-catalog .wyniki-meta-chip::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background: center / contain no-repeat;
}

#wyniki-public-catalog .wyniki-meta-chip--club {
  color: #1e40af;
  background: #eff6ff;
  border: 1px solid #bfdbfe;
}

#wyniki-public-catalog .wyniki-meta-chip--club::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%232563eb'%3E%3Cpath d='M12 3 2 9v2h2v10h6v-6h4v6h6V11h2V9l-10-6zm0 2.2 6.5 3.9V11h-2v8h-2v-6H9.5v6H7.5v-8H5.5V9.1L12 5.2z'/%3E%3C/svg%3E");
}

#wyniki-public-catalog .wyniki-meta-chip--range {
  color: #6d28d9;
  background: #f5f3ff;
  border: 1px solid #ddd6fe;
}

#wyniki-public-catalog .wyniki-meta-chip--range::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237c3aed'%3E%3Cpath d='M12 2C8.1 2 5 5.1 5 9c0 5.2 7 13 7 13s7-7.8 7-13c0-3.9-3.1-7-7-7zm0 9.5a2.5 2.5 0 1 1 0-5 2.5 2.5 0 0 1 0 5z'/%3E%3C/svg%3E");
}

#wyniki-public-catalog .wyniki-meta-chip--date {
  color: #b45309;
  background: #fffbeb;
  border: 1px solid #fde68a;
}

#wyniki-public-catalog .wyniki-meta-chip--date::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23d97706' stroke-width='2'%3E%3Crect x='3' y='4' width='18' height='18' rx='2'/%3E%3Cpath d='M16 2v4M8 2v4M3 10h18'/%3E%3C/svg%3E");
}

#wyniki-public-catalog .wyniki-meta-chip--type {
  color: #b91c1c;
  background: #fef2f2;
  border: 1px solid #fecaca;
}

#wyniki-public-catalog .wyniki-meta-chip--type::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23dc2626'%3E%3Cpath d='M12 2l2.4 7.4H22l-6 4.6 2.3 7-6.3-4.6L5.7 21l2.3-7-6-4.6h7.6z'/%3E%3C/svg%3E");
}

#wyniki-public-catalog .wyniki-badge {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: #fee2e2;
  color: #b91c1c;
}

#wyniki-public-catalog .wyniki-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.65rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
  white-space: nowrap;
}

#wyniki-public-catalog .wyniki-btn-primary {
  background: #dc2626;
  color: #fff;
}

#wyniki-public-catalog .wyniki-btn-primary:hover {
  background: #b91c1c;
}

#wyniki-public-catalog span.wyniki-btn-outline {
  opacity: 0.85;
  cursor: default;
  background: #fff;
  color: #dc2626;
  border: 2px solid #dc2626;
}

#wyniki-public-catalog .wyniki-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

#wyniki-public-catalog .wyniki-pag {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  margin-top: 1.5rem;
  flex-wrap: wrap;
}

#wyniki-public-catalog .wyniki-alert {
  color: #b91c1c;
  background: #fef2f2;
  padding: 1rem;
  border-radius: 14px;
  border: 1px solid #fecaca;
}

#wyniki-public-catalog .wyniki-empty {
  color: #64748b;
  margin: 0.5rem 0 1rem;
}

@media (max-width: 639px) {
  #wyniki-public-catalog .wyniki-list-card {
    flex-direction: column;
    align-items: stretch;
  }

  #wyniki-public-catalog .wyniki-list-card > div:last-child {
    width: 100%;
  }

  #wyniki-public-catalog .wyniki-list-card .wyniki-btn {
    width: 100%;
    justify-content: center;
  }
}
