/* Filter Form Styling */
#boeremark-filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 2rem;
}

#boeremark-filter-form select,
#boeremark-filter-form input[type="text"],
#boeremark-filter-form input[type="submit"] {
  padding: 8px 12px;
  font-size: 16px;
}

/* Product Grid */
.boeremark-products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

/* Product Card */
.boeremark-product-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 16px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.3s ease;
}

.boeremark-product-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.boeremark-product-card img {
  max-width: 100%;
  height: auto;
  border-radius: 6px;
  margin-bottom: 12px;
}

.boeremark-product-card h3 {
  font-size: 20px;
  margin: 10px 0;
  color: #333;
}

.boeremark-product-card p {
  font-size: 16px;
  margin: 5px 0;
  color: #555;
}

/* Dashboard Table */
.boeremark-dashboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

.boeremark-dashboard-table th,
.boeremark-dashboard-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.boeremark-dashboard-table th {
  background-color: #f9f9f9;
}

/* Responsive tweak */
@media (max-width: 600px) {
  #boeremark-filter-form {
    flex-direction: column;
  }
}

.boeremark-thumb img {
    max-width: 100%;
    height: auto;
    border-radius: 6px;
}

.category-card-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.category-card {
  background: #f7f7f7;
  border: 1px solid #ddd;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  transition: all 0.2s ease-in-out;
}

.category-card:hover {
  background-color: #fff;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.category-card a {
  text-decoration: none;
  color: #003366;
  font-weight: bold;
  display: block;
}


.product-thumbnail {
  width: 100%;
  max-width: 150px;
  border-radius: 8px;
}

.category-card.active {
    border: 2px solid #0073aa;
    background: #eef7ff;
}