/* Stil de bază pentru filtre și listă */
.epf-filters {
  border: 1px solid #e5e7eb;
  border-radius: 16px;
  padding: 16px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,.04);
  margin-bottom: 16px;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}

.epf-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.epf-attrs { margin-top: 8px; }
.epf-field > label {
  display:block;
  font-weight: 600;
  margin-bottom: 6px;
}

.epf-inline { display:flex; gap:8px; }
.epf-checks { display:flex; flex-wrap: wrap; gap: 8px 16px; }
.epf-check { display:inline-flex; align-items:center; gap:6px; }

.epf-filters input[type="number"],
.epf-filters select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  background: #fff;
  outline: none;
}

.epf-actions { display:flex; gap:8px; margin-top: 12px; }
.epf-btn {
  border: 1px solid #111827;
  background: #111827;
  color: #fff;
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  transition: transform .02s ease, box-shadow .2s ease, background .2s ease;
}
.epf-btn:hover { box-shadow: 0 6px 16px rgba(0,0,0,.12); }
.epf-btn:active { transform: translateY(1px); }

.epf-btn-secondary {
  background: #fff;
  color: #111827;
}

.epf-products { position: relative; min-height: 60px; }
.epf-products.epf-loading::after {
  content: 'Se încarcă…';
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,.7);
  font-weight: 600;
  border-radius: 12px;
}

/* Header rezultate */
.epf-header {
  display:flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.epf-count { font-weight: 600; color:#374151; }

/* Paginare */
.epf-pagination {
  display:flex;
  gap: 6px;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  flex-wrap: wrap;
}
.epf-pagination .epf-page {
  display:inline-block;
  padding: 8px 12px;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  background: #fff;
}
.epf-pagination .epf-page.active {
  background: #111827;
  color: #fff;
  border-color: #111827;
  cursor: default;
}
.epf-pagination .epf-page.disabled {
  opacity: .4;
  pointer-events: none;
}
.epf-ellipsis { padding: 0 6px; color:#6b7280; }
