/* ============================================================
   Shop-Grid – Produktübersicht
   Lädt automatisch via module_css_links() wenn shop-grid aktiv ist.
   ============================================================ */

.shop-cat-head {
  margin: 0 0 28px;
}
.shop-grid-section .shop-cat-head:not(:first-child) {
  margin-top: 64px;
}
.shop-cat-head__title {
  font-family: var(--font-display);
  font-size: clamp(24px, 3vw, 32px);
  color: var(--ink);
  margin: 0 0 8px;
}
.shop-cat-head__intro {
  color: var(--ink-mid);
  max-width: 60ch;
  margin: 0;
}

.shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(18px, 2.4vw, 28px);
}

.shop-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--t-base) var(--ease), transform var(--t-base) var(--ease);
}
.shop-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.shop-card__media {
  display: block;
  aspect-ratio: 1;
  background: var(--bg-soft);
  overflow: hidden;
}
.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform var(--t-slow) var(--ease);
}
.shop-card:hover .shop-card__media img { transform: scale(1.04); }

.shop-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 18px 20px 20px;
  gap: 10px;
}
.shop-card__title {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.25;
  margin: 0;
}
.shop-card__title a { color: var(--ink); text-decoration: none; }
.shop-card__title a:hover { color: var(--teal-deep); }

.shop-card__text {
  color: var(--ink-mid);
  font-size: 14px;
  margin: 0;
  flex: 1;
}

.shop-card__foot {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-top: 4px;
}
.shop-card__price {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 20px;
  color: var(--teal-deep);
}
.shop-card__pricenote {
  font-size: 12px;
  color: var(--ink-soft);
}

.shop-card__actions {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}
.shop-card__actions .btn { flex: 1; justify-content: center; }

@media (max-width: 900px) {
  .shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .shop-grid { grid-template-columns: 1fr; }
  .shop-card { flex-direction: row; }
  .shop-card__media { width: 38%; aspect-ratio: auto; flex-shrink: 0; }
  .shop-card__actions { flex-wrap: wrap; }
}
