
/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  /* font-family: var(--ThemesTextContentFont); */
}

:root {
  --primary-green: #B4DCB4;
  --dark-green: #99C899;
  --light-gray: #f8f9fa;
  --text-dark: #645A55;
  --text-light: #8C7B85;
  --white: #fff;
  --black: #A59182;
}

/* Featured Products */
.product-featured-products {
  padding: 100px 0;
  background: var(--white);
  color: var(--black);
}

/* Products Layout - Left Sidebar + Right Content */
.products-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: 40px;
  margin-top: 40px;
}

/* Left Sidebar - Categories */
.product-categories {
  background: var(--light-gray);
  border-radius: 10px;
  padding: 30px 20px;
  height: fit-content;
  position: sticky;
  top: 120px;
}

.product-categories h3 {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  color: var(--text-dark);
}

.category-list {
  list-style: none;
}

.category-list li {
  margin-bottom: 5px;
}

.category-item {
  display: block;
  padding: 12px 15px;
  color: var(--text-dark);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  font-size: 15px;
}

.category-item:hover {
  background: var(--white);
  color: var(--black);
}

.category-item.active {
  background: var(--black);
  color: var(--white);
  font-weight: 600;
}

/* Right Content - Products Grid */
.products-content {
  flex: 1;
  text-align: left;
}

.product-featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.product-featured-card {
  /* background: var(--light-gray); */
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.3s;
  padding: 30px;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.product-featured-card:hover {
  transform: translateY(-5px);
}

.product-featured-card img {
  width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}

.product-featured-card h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
}

.product-featured-card p {
  font-size: 14px;
  color: var(--text-light);
  margin: 0 auto;
  margin-top: 10px;
  text-align: center;
}

.product-featured-card.product-link {
  text-decoration: none;
  display: block;
  position: relative;
}

.product-featured-card .view-details {
  display: inline-block;
  margin-top: 15px;
  color: var(--primary-green);
  font-weight: 600;
  font-size: 14px;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.3s ease;
}

.product-featured-card:hover .view-details {
  opacity: 1;
  transform: translateY(0);
}

.product-featured-card.large-card {
  grid-column: span 2;
  padding: 0;
  text-align: center;
  margin: 0 auto;
  
}

.applications-content img {
 width: 100%;
}

.product-featured-card.large-card img {
  height: 100%;
  margin: 0;    
  margin: 0 auto;
  border-radius: 20px;
  object-fit: cover;
}


.product-featured-card.large-card2 {
  grid-column: span 2;
}

.product-featured-card.large-card2 img {
  width: 100%;
  height: 350px;
  border-radius: 20px;
  /* object-fit: cover; */
  margin: 0 auto;
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .products-layout {
    grid-template-columns: 220px 1fr;
    gap: 30px;
  }

  .product-featured-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .products-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-categories {
    position: static;
    padding: 20px;
  }

  .category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }

  .category-list li {
    margin-bottom: 0;
  }

  .category-item {
    padding: 10px 15px;
    font-size: 14px;
  }

  .product-featured-grid {
    grid-template-columns: 1fr;
  }
}

