/* ============================================================
   MANDEA — Shop-Seite
   ============================================================ */

/* ── TOOLBAR ─────────────────────────────────────────────── */

.shop-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  margin-bottom: var(--space-8);
  flex-wrap: wrap;
}

.shop-toolbar__right {
  display: flex;
  align-items: center;
  gap: var(--space-4);
  flex-shrink: 0;
}

.shop-count {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  letter-spacing: var(--tracking-wide);
  white-space: nowrap;
}

.sort-select {
  min-width: 180px;
  padding: var(--space-2) var(--space-4);
  min-height: 40px;
  font-size: var(--text-sm);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%237A6555' stroke-width='1.5' stroke-linecap='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right var(--space-3) center;
  padding-right: var(--space-8);
}

/* ── LEER-ZUSTAND ────────────────────────────────────────── */

.shop-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-5);
  padding: var(--space-24) var(--space-8);
  text-align: center;
  color: var(--color-text-light);
}

.shop-empty p {
  font-size: var(--text-md);
}

.hidden { display: none !important; }

/* ── PRODUKT-KARTE — Kurzbeschreibung (nur im Shop) ─────── */

.product-card__desc {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  line-height: var(--leading-normal);
  margin-top: var(--space-2);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ── SKELETON (auch in home.css genutzt) ─────────────────── */

.product-card-skeleton {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: linear-gradient(
    90deg,
    var(--color-bg-alt) 25%,
    var(--color-blush-light) 50%,
    var(--color-bg-alt) 75%
  );
  background-size: 200% 100%;
  animation: shimmer 1.8s infinite;
  aspect-ratio: 3 / 5;
}

@media (max-width: 640px) {
  .shop-toolbar {
    flex-direction: column;
    align-items: flex-start;
  }

  .shop-toolbar__right {
    width: 100%;
    justify-content: space-between;
  }

  .sort-select {
    flex: 1;
  }
}
