@import url('https://fonts.googleapis.com/css2?family=Figtree:ital,wght@0,300..900;1,300..900&family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Figtree;
  }

  body {
    background-color: #f5f5f5;
  }


  header {
    background-color: #efeeee;
    padding: 15px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
    margin-left: 100px;
  }

  .logo img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #333;
  }

  .search-bar {
    background-color: #ffffff;
    border: 1px solid #ccc;
    border-radius: 20px;
    padding: 7px 15px;
    display: flex;
    align-items: center;
    margin-left: 200px;
  }

  .search-bar input {
    border: none;
    background: transparent;
    outline: none;
    width: 400px;
  }

  .nav-links {
    display: flex;
    gap: 25px;
    margin-right: 100px;
  }

  .nav-links a {
    text-decoration: none;
    color: #333;
  }


  .sub-nav {
    background-color: #333;
    color: white;
    display: flex;
    justify-content: space-around;
    padding: 17px 0;
  }

  .sub-nav a {
    color: white;
    text-decoration: none;
    font-size: 14px;
  }

.breadcrumb {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 0 20px;
    display: flex;
    align-items: center;
}

.breadcrumb a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
}

.breadcrumb .separator {
    margin: 0 10px;
    color: #666;
}

.breadcrumb .current {
    color: #000;
    font-weight: 500;
    font-size: 14px;
}

.product-header {
    max-width: 1200px;
    margin: 20px auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-count {
    font-weight: 600;
}

.sort-by {
    font-size: 14px;
    cursor: pointer;
}

.products-grid {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.product-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.product-image {
    position: relative;
    padding-top: 100%;
    background-color: #f5f5f5;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 30px;
}

.wishlist-icon {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.wishlist-icon svg {
    width: 15px;
    height: 15px;
    fill: none;
    stroke: #ccc;
    stroke-width: 2px;
}

.wishlist-icon.active svg path {
    fill: #ff4057;
    stroke: #ff4057;
}

.product-info {
    padding: 15px;
}

.product-title {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    color: #333;
    height: 40px;
    overflow: hidden;
}

.product-price {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 15px;
}

.product-button {
    width: 100%;
    padding: 10px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: background-color 0.3s;
}

.product-button:hover {
    background-color: #333;
}

.pagination {
    display: flex;
    justify-content: center;
    margin: 40px 0;
}

.page-number {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.page-number.active {
    background-color: #000;
    color: #fff;
    justify-content: center;
    align-items: center;
}

.page-arrow {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    border-radius: 50%;
    background-color: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    cursor: pointer;
}

.category a {
text-decoration: none;  /* Removes the underline */
color: inherit;         /* Uses the same color as the parent element */
display: block;         /* Makes the link fill the entire category div */
width: 100%;
height: 100%;
}

.category a:hover {
color: inherit;         /* Maintains the same color on hover */
}

.notification {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #333;
    color: #fff;
    padding: 12px 20px;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s, opacity 0.3s;
    transform: translateY(0);
    opacity: 1;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}


.footer {
    background-color: #000;
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .footer-column {
    flex: 1;
    margin: 10px;
    min-width: 200px;
    color: #ffffff;
  }

  .footer-column img {
    width: 30px;
    height: 30px;
  }

  .footer-column h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #fff;
  }

  .footer-column p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
  }

  .footer-column ul {
    list-style: none;
    padding: 0;
  }

  .footer-column ul li {
    margin: 5px 0;
  }

  .footer-column ul li a {
    color: #bbb;
    text-decoration: none;
    font-size: 14px;
  }

  .footer-column ul li a:hover {
    color: #fff;
    text-decoration: underline;
  }

  .social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
  }

  .social-icons a {
    color: #bbb;
    font-size: 20px;
    text-decoration: none;
  }

  .social-icons a:hover {
    color: #fff;
  }

  @media (max-width: 768px) {
    .footer {
      flex-direction: column;
      text-align: center;
    }

    .footer-column {
      margin: 20px 0;
    }
  }

@media (max-width: 900px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .header-container {
        flex-wrap: wrap;
    }
    
    .search-bar {
        order: 3;
        max-width: 100%;
        margin-top: 15px;
        margin-right: 0;
    }
}