/* Produkte: Übersicht (/produkte) und Detailseite (/produkt?p=…) */

.pr-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 18px; }
.pr-filter button {
  border: 1px solid #d1d5db; background: #fff; border-radius: 999px; padding: 7px 14px; font: inherit; font-size: 14px;
}
.pr-filter button.active { background: #1f2937; border-color: #1f2937; color: #fff; }

.pr-group-title { margin: 26px 0 10px; font-size: 20px; }
.pr-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 16px; }

.pr-card {
  display: flex; flex-direction: column; gap: 10px; padding: 16px; border: 1px solid #ddd; border-radius: 14px;
  color: inherit; text-decoration: none; background: #fff; transition: border-color .15s, box-shadow .15s, transform .15s;
}
.pr-card:hover { border-color: #3b82f6; box-shadow: 0 8px 22px rgba(0,0,0,.08); transform: translateY(-2px); }
.pr-card-head { display: flex; gap: 12px; align-items: center; }
.pr-card img, .pr-noimg { width: 64px; height: 64px; border-radius: 14px; object-fit: cover; flex: none; background: #eef1f5; }
.pr-card h3 { margin: 0; font-size: 18px; }
.pr-card p { margin: 0; color: #4b5563; font-size: 15px; line-height: 1.45; }
.pr-meta { display: flex; flex-wrap: wrap; gap: 6px; }
.pr-tag { font-size: 12px; padding: 3px 9px; border-radius: 999px; background: #eef2f7; color: #374151; }
.pr-tag.status { background: #e0ecff; color: #1d4ed8; }
.pr-empty { padding: 24px; border: 1px dashed #ccc; border-radius: 12px; color: #6b7280; }

/* Detail */
.pr-detail-head { display: flex; gap: 20px; align-items: center; flex-wrap: wrap; }
.pr-detail-head img { width: 120px; height: 120px; border-radius: 24px; object-fit: cover; background: #eef1f5; }
.pr-detail-head h1 { margin: 0 0 6px; }
.pr-detail-desc p { line-height: 1.6; }
.pr-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }
.pr-btn {
  display: inline-block; padding: 10px 18px; border-radius: 10px; background: #1f2937; color: #fff; text-decoration: none; font-weight: 600;
}
.pr-btn:hover { background: #3b82f6; }
.pr-btn.ghost { background: transparent; color: #1f2937; border: 1px solid #1f2937; }
.pr-back { display: inline-block; margin-bottom: 8px; }
