/* Main Products Section */
.products {
  padding: 60px 0;
  background-color: #fff;
}

.products .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Products Grid Layout */
.products-box {
  display: flex;
  flex-wrap: wrap;
  margin: -15px;
}

.products-items {
  padding: 15px;
  width: 100%;
}

/* Product Item Styling */
.products .item {
  background-color: #fafafa;
  border-radius: 10px;
  padding: 25px;
  margin-bottom: 30px;
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.products .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Image Styling */
.products .item img {
  border-radius: 10px;
  width: 100%;
  height: 220px;
  object-fit: contain;
  object-position: center;
  margin-bottom: 15px;
  background: #f5f5f5;
  padding: 10px;
}

/* Category Tag */
.products .item span.category {
  background-color: #e0f7fa;
  font-weight: 500;
  border-radius: 5px;
  font-size: 14px;
  color: #1e1e1e;
  padding: 5px 12px;
  display: inline-block;
  margin-bottom: 15px;
}

/* Title Styling */
.products .item h4 {
  font-size: 19px;
  margin: 15px 0;
  line-height: 1.4;
}

.products .item h4 a {
  color: #1e1e1e;
  text-decoration: none;
  transition: color 0.3s;
}

.products .item h4 a:hover {
  color: #4285f4;
}

/* Details List */
.products .item ul {
  border-bottom: 1px solid #eaeaea;
  margin-bottom: 20px;
  padding-bottom: 20px;
  list-style: none;
  padding-left: 0;
}

.products .item ul li {
  display: inline-block;
  font-size: 15px;
  color: #4a4a4a;
  margin-right: 15px;
  margin-bottom: 5px;
}

.products .item ul li span {
  font-weight: 600;
  color: #1e1e1e;
}

/* Price Styling */
.products .item h6 {
  font-size: 20px;
  color: #198754;
  margin-top: 10px;
  font-weight: 700;
}

/* Button Styling */
.products .item .main-button {
  text-align: center;
  margin-top: auto;
}

.products .item .main-button button {
  background-color: #198754;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s;
  font-weight: 500;
}

.products .item .main-button button:hover {
  background-color: #198754e7;
  transform: translateY(-2px);
}

/* Responsive Grid */
@media (min-width: 768px) {
  .products-items {
    width: 50%;
  }
}

@media (min-width: 992px) {
  .products-items {
    width: 33%;
  }
}

