/* FILTER BAR */
.filter-bar {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 25px;
}

.filter-btn {
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
  font-weight: 600;
}

.filter-btn.active {
  background: #2e7d32;
  color: #fff;
}

/* PRODUCT GRID */
.product-grid,
.woocommerce ul.products {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
  padding: 0;
}

/* PRODUCT CARD */
.product-card,
.woocommerce ul.products li.product {
  background: #fff;
  padding: 15px;
  border-radius: 10px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  display: flex;
  flex-direction: column;
}

/* IMAGE */
.woocommerce ul.products li.product img {
  height: 170px;
  object-fit: contain;
}

/* TITLE */
.woocommerce ul.products li.product h2 {
  font-size: 16px;
  font-weight: 600;
}

/* PRICE */
.woocommerce ul.products li.product .price {
  font-size: 18px;
  font-weight: bold;
}

/* REMOVE DEFAULT WOO STYLES */
.woocommerce ul.products li.product .button,
.woocommerce span.onsale {
  display: none !important;
}
/* FORCE PRODUCT CARD HOVER */
ul.products.product-grid li.product-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

ul.products.product-grid li.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

/* PRODUCT TITLE */
ul.products.product-grid li.product-card .product-name {
  font-size: 16px;
  font-weight: 600;
  color: #070707;
  text-decoration: none;
  margin: 10px 0 6px;
  display: block;
}

ul.products.product-grid li.product-card .product-name:hover {
  color: darkred;
  text-decoration: underline;
}

/* PRICE STYLE */
ul.products.product-grid li.product-card .price {
  font-size: 18px;
  font-weight: bold;
  color: #000;
}

/* STICKY SUB CATEGORY FILTER */
.filter-bar {
  position: sticky;
  top: 90px; /* adjust based on your header height */
  z-index: 999;
  background: #f3f5f7;
  padding: 12px 0;
}