.bgu-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.product-card {
  width: 100%;
  border: 2px solid #00b050;
  border-radius: 16px;
  font-family: "Arial", sans-serif;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
  background-color: #fff;
}

.product-image-wrapper {
  position: relative;
  width: 100%;
  height: 300px;
  background-color: #fff;
  overflow: hidden;
}

.product-image-wrapper img {
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  margin: 0 auto;
  display: block;
}

.product-label-overlay {
  position: absolute;
  top: 12px;
  left: 12px;
  background-color: #00b050;
  color: white;
  font-size: 13px;
  font-weight: 700;
  padding: 2px 10px;
  border-radius: 4px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  box-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

.product-content {
  padding: 16px;
  text-align: center;
}

.product-title {
  font-size: 15px;
  font-weight: bold;
  color: #000;
  margin-bottom: 12px;
  text-decoration: none;
}

.product-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.product-price {
  background-color: #00b050;
  color: white;
  font-weight: bold;
  font-size: 17px;
  padding: 8px 16px;
  border-radius: 12px;
  display: inline-block;
}

.icon-button {
  width: 36px;
  height: 36px;
  background-color: #e0f8e0;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #00b050;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.icon-button:hover {
  background-color: #c8f4c8;
}

.bgu-popup {
  display: none;
  position: fixed;
  z-index: 9999;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.7);
}

.bgu-popup-content {
  background: #fff;
  margin: 5% auto;
  padding: 20px;
  width: 90%;
  max-width: 600px;
  position: relative;
  border-radius: 10px;
}

.bgu-close {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 24px;
  cursor: pointer;
}

.product-label-overlay.right {
  left: auto;
  right: 12px;
}

.product-label-overlay.yellow {
  background-color: #ffc107;
  color: #000;
}
