/* ==========================================================================
   MIMEON — Storefront shop/search/filter additions
   Extends mimeon-home.css. Nothing here overrides an existing rule —
   these are new concerns (pagination, toolbar, empty states) that the
   original mock storefront never needed.
   ========================================================================== */

/* ─── Filter bar as real links ─────────────────────────── */
.filter-btn {
  cursor: pointer;
}

/* ─── Search / sort toolbar ────────────────────────────── */
.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-top: 22px;
}

.shop-toolbar input[type="search"],
.shop-toolbar select {
  border: 1.5px solid var(--line);
  border-radius: 999px;
  padding: 10px 18px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: #fff;
}

.shop-toolbar input[type="search"] {
  flex: 1;
  min-width: 200px;
}

.shop-toolbar button {
  border: 1.5px solid var(--navy);
  border-radius: 999px;
  padding: 10px 20px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  color: #fff;
  background: var(--navy);
  cursor: pointer;
}

.shop-toolbar .toolbar-clear {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.shop-result-count {
  color: var(--muted);
  font-size: 14px;
  margin-top: 10px;
}

/* ─── Long product names stay contained ────────────────── */
.shop-card-title {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ─── Pagination ────────────────────────────────────────── */
.pagination {
  display: flex;
  list-style: none;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 40px 0 0;
  justify-content: center;
}

.pagination .page-item .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1.5px solid var(--line);
  color: var(--navy);
  background: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
}

.pagination .page-item.active .page-link {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  color: var(--muted);
  opacity: .5;
}

/* ─── Empty state ───────────────────────────────────────── */
.empty-state {
  text-align: center;
  padding: 64px 24px;
  border: 1.5px dashed var(--line);
  border-radius: 24px;
  background: var(--light);
  margin-top: 36px;
}

.empty-state-icon {
  font-size: 34px;
  margin-bottom: 14px;
  display: block;
}

.empty-state h3 {
  font-family: var(--font-display);
  font-size: 22px;
  margin: 0 0 8px;
  color: var(--navy);
}

.empty-state p {
  color: var(--muted);
  max-width: 440px;
  margin: 0 auto;
  line-height: 1.6;
}

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