/* Storefront-Katalog (oeffentlich) - Vanilla CSS, gebrandet ueber --shop-primary/--shop-accent */
:root {
  --shop-primary: #1d4ed8;
  --shop-accent: #f59e0b;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #1e293b;
  background: #f1f5f9;
  line-height: 1.5;
}

.sf-header {
  background: #fff;
  border-bottom: 1px solid #e2e8f0;
}
.sf-header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 20px;
  display: flex;
  align-items: center;
}
.sf-logo { max-height: 46px; width: auto; }
.sf-title { font-size: 22px; font-weight: 700; color: var(--shop-primary); }

.sf-wrap {
  max-width: 1100px;
  margin: 0 auto;
  padding: 36px 20px 60px;
}
.sf-heading {
  font-size: 30px;
  margin: 0 0 6px;
  color: #0f172a;
}
.sf-sub {
  margin: 0 0 28px;
  color: #64748b;
  font-size: 16px;
}

.sf-empty {
  background: #fff;
  border: 1px dashed #cbd5e1;
  border-radius: 12px;
  padding: 40px;
  text-align: center;
  color: #64748b;
}

.sf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}

.sf-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.sf-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, .12);
  border-color: var(--shop-primary);
}

.sf-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  background: #f8fafc;
  overflow: hidden;
}
.sf-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.sf-card-noimg {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--shop-primary), var(--shop-accent));
  text-transform: uppercase;
}
.sf-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--shop-accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  letter-spacing: .3px;
}

.sf-card-body {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 16px 16px 18px;
}
.sf-card-title {
  font-size: 18px;
  margin: 0 0 6px;
  color: #0f172a;
}
.sf-card-desc {
  margin: 0 0 14px;
  color: #64748b;
  font-size: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sf-card-foot {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
.sf-price {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
}
.sf-btn {
  background: var(--shop-primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  white-space: nowrap;
}
.sf-net-hint {
  margin-top: 8px;
  font-size: 12px;
  color: #94a3b8;
}

.sf-footer {
  max-width: 1100px;
  margin: 0 auto;
  padding: 24px 20px 40px;
  color: #64748b;
  font-size: 13px;
}
.sf-footer a { color: #64748b; }

@media (max-width: 520px) {
  .sf-heading { font-size: 24px; }
  .sf-grid { grid-template-columns: 1fr; }
}
