.store-container {
    padding: 2rem;
    margin-top: 2%;
  }

  .store-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 1.5rem;
  }

  .store-content {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
  }

  .categories {
    flex: 1;
    min-width: 200px;
    background-color: #222222; /* Light gray */
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    margin-right: 1rem;
    height: fit-content;
    position: sticky;
    top: 100px; /* Optional: keep it visible when scrolling */
  }
  
  .categories h3 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
    color: #fdfdfd;
  }

  .categories ul {
    list-style: none;
    padding: 0;
  }
  
  .categories li {
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: #636363;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.2s ease;
  }
  
  .categories li:hover,
  .categories li.active {
    background-color: #7e7d7d;
  }

  .main-content {
    flex: 3;
    min-width: 300px;
  }

  .search-bar {
    position: relative;
    width: 100%;
    max-width: 400px; /* Limit width so it's not overly long */
    margin-bottom: 1.5rem;
    background-color: #000000;
    color: #fdfdfd
  }
  
  .search-bar input {
    width: 100%;
    padding: 0.5rem 2.5rem 0.5rem 1rem; /* Leave space for icon */
    border: 1px solid #b61e1e;
    border-radius: 5px;
  }
  
  .search-bar i {
    position: absolute;
    right: -41px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
  }
  .product-link {
    text-decoration: none;
    color: inherit;
    display: flex;
  }
  
  .product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 3.5rem;
  }
  
  .product-card {
    background: #000000;
    border: 1px solid #d80d0d;
    border-radius: 10px;
    padding: 1rem;
    text-align: center;
    transition: box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    color: #ccc;
  }
  
  .product-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 0.5rem;
  }
  
  .product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .old-price {
    text-decoration: line-through;
    color: #888;
    margin-right: 5px;
  }
  
  
  @media (max-width: 768px) {
    .store-content {
      flex-direction: column;
    }

    .categories, .main-content {
      width: 100%;
    }
  }
  @media (max-width: 430px){
    .categories {
      width: 80%;
    }
    .search-bar {
      width: 60%;
    }
    .product-grid {
      grid-template-columns: 1fr 1fr;
    }
    .product-card {
      padding: 1.5rem;
      font-size: 0.9rem;
     
    }
    .product-image {
      height: 150px;
    }
  
  }