.cat-gallery {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

.cat-gallery-item {
  width: 350px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 10px;
  box-sizing: border-box;
  text-align: center;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.cat-gallery-item img {
  width: 100%;
  height: auto;
  border-radius: 5px;
}

.cat-product-details {
  margin-top: 10px;
}

.cat-product-details p {
  margin: 4px 0;
  font-weight: 500;
  color: #333;
}

.cat-price {
  color: green;
  font-size: 16px;
  font-weight: bold;
}

.cat-buy-now-btn {
  display: inline-block;
  width: 100%;
  padding: 8px 0;
  margin-top: 8px;
  background: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-weight: bold;
  transition: background 0.3s ease;
}

.cat-buy-now-btn:hover {
  background: #0056b3;
}

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}

.modal-content {
    background-color: #fff;
    margin: 0% auto;
    padding: 20px;
    border: 1px solid #888;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 20px;
    cursor: pointer;
	color: black;
	background-color: none;
}
