:root {
    --font-primary: 'Montserrat', sans-serif;
    --font-secondary: 'Montserrat', sans-serif;
  }
  
  /* Filter sidebar */
  .sidebar {
    padding-right: 20px;
    border-right: 1px solid #eee;
  }
  
  .sidebar h2 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
  }
  
  .sidebar ul {
    list-style: none;
    padding-left: 0;
  }
  
  .sidebar ul li {
    padding: 8px 0;
    border-bottom: 1px solid #f8f9fa;
  }
  
  .sidebar ul li a {
    color: #333;
    text-decoration: none;
    transition: all 0.3s;
  }
  
  .sidebar ul li a:hover {
    color: #000;
    font-weight: 500;
  }
  
  .sidebar ul li.active a {
    font-weight: 500;
  }
  
  /* Product cards */
  .featured-badge, .high-quality-badge, .cutting-edge-badge, .exclusive-design-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    color: white;
    padding: 5px 15px;
    font-size: 14px;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.7);
  }
  
  .product-card {
    margin-bottom: 30px;
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }
  
  .product-title {
    font-size: 16px;
    font-weight: 600;
    margin-top: 12px;
    margin-bottom: 8px;
    line-height: 1.4;
  }
  
  /* Fix for image scaling without overflow */
  .card-img-container {
    overflow: hidden;
    position: relative;
    border-radius: 0;
  }
  
  .product-card .card-img-top {
    transition: all 0.3s ease-in-out;
    transform-origin: center;
    width: 100%;
    height: auto;
  }
  
  .product-card:hover .card-img-top {
    transform: scale(1.10);
  }
  
  .old-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.9rem;
    display: block;
  }
  
  .current-price {
    font-weight: bold;
    font-size: 1.1rem;
    color: #333;
  }
  
  .add-to-bag {
    margin-top: auto;
    background-color: #ffffff;
    color: rgb(0, 0, 0);
    border: 1px solid #000000;
    padding: 12px;
    font-weight: 500;
    transition: all 0.3s;
  }
  
  .add-to-bag:hover {
    background-color: #000000;
    color: #ffffff;
  }
  
  body {
    background-color: white;
    font-family: var(--font-secondary);
  }
  
  /* Top section styling */
  .product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .product-count {
    color: #666;
    font-size: 14px;
  }
  
  .sort-by {
    display: flex;
    align-items: center;
    gap: 10px;
  }
  
  .page-title {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
    font-family: var(--font-primary);
  }
  
  /* Hide sidebar on mobile by default */
  @media (max-width: 768px) {
    .sidebar {
      display: none;
    }
    
    .sidebar.show {
      display: block;
      position: fixed;
      top: 0;
      left: 0;
      height: 100%;
      width: 80%;
      background: white;
      z-index: 1000;
      padding: 20px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    
    .mobile-filter-toggle {
      display: block;
      margin-bottom: 15px;
    }
  }
  
  @media (min-width: 769px) {
    .mobile-filter-toggle {
      display: none;
    }
  }

  /* Pricing row alignment */
.pricing {
  /* display: flex; */
  /* justify-content: space-between; */
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.old-price {
  text-decoration: line-through;
  color: #999;
  font-size: 0.9rem;
  display: inline-block;
  margin-bottom: 0;
}

.current-price {
  font-weight: bold;
  font-size: 1.1rem;
  color: #333;
  margin-left: auto; /* Push price to right */
}

/* Ensure cards have equal height in row */
.row.g-4 {
  align-items: stretch;
}

.product-card {
  height: 100%;
}

/* Image container height */
.card-img-container {
  height: 300px; 
  overflow: hidden;
}

.card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.product-info {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
