/* === GLOBAL RESET === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #f8f9fb;
  color: #333;
  line-height: 1.6;
}

/* === WRAPPER LAYOUT === */
.products-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  max-width: 1300px;
  margin: 100px auto 60px;
  padding: 0 20px;
  gap: 40px;
}

/* === SIDEBAR === */
.product-sidebar {
  width: 250px;
  background: #fff;
  padding: 25px;
  border-radius: 14px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  position: sticky;
  top: 100px;
}

.product-sidebar h2 {
  font-size: 20px;
  color: #222;
  margin-bottom: 25px;
  border-bottom: 2px solid #00b09c;
  display: inline-block;
  padding-bottom: 6px;
}

.product-sidebar ul {
  list-style: none;
}

.product-sidebar ul li {
  margin: 18px 0;
}

.product-sidebar ul li a {
  text-decoration: none;
  color: #444;
  font-size: 16px;
  font-weight: 500;
  transition: all 0.3s ease;
  padding: 8px 12px;
  display: block;
  border-radius: 8px;
}

.product-sidebar ul li a:hover,
.product-sidebar ul li a.active {
  background-color: #00b09c;
  color: #fff;
}

/* === MAIN PRODUCT SECTION === */
.product-main {
  flex: 1;
}

.product-title {
  font-size: 28px;
  color: #111;
  margin-bottom: 25px;
  border-left: 5px solid#00b09c;
  padding-left: 12px;
}

/* === PRODUCT GRID === */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 30px;
}

/* === PRODUCT CARD === */
.product-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.15);
}

.product-image {
  background: #fafafa;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 25px;
}

.product-image img {
  max-width: 180px;
  height: auto;
  object-fit: contain;
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-info h3 {
  font-size: 18px;
  color: #111;
  margin-bottom: 10px;
  font-weight: 600;
}

.product-info p {
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
  line-height: 1.4;
}

.view-btn {
  display: inline-block;
  background: #00b09c;
  color: #fff;
  padding: 10px 20px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
}

.view-btn:hover {
  background: #b30000;
  transform: scale(1.05);
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 992px) {
  .products-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .product-sidebar {
    width: 100%;
    position: static;
    text-align: center;
  }

  .product-sidebar h2 {
    text-align: center;
    border: none;
    margin-bottom: 10px;
  }

  .product-sidebar ul li {
    display: inline-block;
    margin: 10px;
  }

  .product-sidebar ul li a {
    border-radius: 25px;
    padding: 8px 18px;
  }

  .product-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }
}
