*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Inter', sans-serif;
}

/* TOP BAR */
.topbar {
  background: black;
  color: white;
  text-align: center;
  padding: 20px;
  font-weight: bold;
  font-size: 40px;
}

/* NAV */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
  border-bottom: 1px solid #ddd;
}

.menu {
  display: flex;
  gap: 40px;
  list-style: none;
  font-size: 15px;
}
.menu li {
  position: relative;
}
.menu li a{
  text-decoration: none;
  color: black;
  font-size: 20px;
  transition: 0.3s;
  padding: 5px 0;
}
.menu li a:hover{
  color: #0f6e38;
}
/* SEARCH */
.search-box {
  position: right;
  margin-right: 10px;
}

.search-box input {
  padding: 10px 1px 10px 15px;
  border: 4px solid #cccccca0;
}
/* ICON BÊN NGOÀI */
.icon-img {
  width: 25px;
  height: 30px;
  opacity: 1;
  cursor: pointer;
  gap: 40px;
  transition: 0.2s;
  margin-left: 30px;
}
.icon-img:hover {
  transform: translateY(-5px);
}
/* WishList */
.wishlist-container{
    width: 90%;
    margin: 40px auto;
}

/* Header */
.wishlist-header{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
}

.wishlist-header h1{
    font-size: 32px;
    font-weight: 900;
    text-transform: uppercase;
}

.wishlist-header p{
    font-size: 16px;
    color: #555;
}

/* Grid */
.wishlist-grid{
    display: grid;
    grid-template-columns: repeat(auto-fill,minmax(300px,1fr));
    gap: 30px;
}

/* Card */
.wishlist-card{
    background: white;
    position: relative;
    transition: 0.3s;
}

.wishlist-card:hover{
    transform: translateY(-5px);
}

/* Image */
.wishlist-card img{
    width: 100%;
    height: 420px;
    object-fit: cover;
    background: #eee;
}

.remove-heart{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 40px;
    height: 40px;
    border: none;
    border-radius: 50%;
    background: white;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.remove-heart i{
    color: red;
    font-size: 18px;
}

.wishlist-info{
    padding: 20px;
}

.wishlist-info h3{
    font-size: 24px;
    margin-bottom: 10px;
}

.category{
    color: gray;
    margin-bottom: 15px;
}

.price{
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

.add-cart-btn{
    width: 100%;
    height: 50px;
    border: none;
    background: black;
    color: white;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.add-cart-btn:hover{
    background: #333;
}
@media screen and (max-width: 992px){

  .navbar{
    flex-direction: column;
    gap: 15px;
    padding: 20px;
  }

  .menu{
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
  }

  .wishlist-header h1{
    font-size: 28px;
  }

  .wishlist-grid{
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .wishlist-card img{
    height: 350px;
  }
}
@media screen and (max-width: 768px){

  .navbar{
    flex-direction: column;
    gap: 15px;
  }

  .menu{
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .search-box input{
    width: 90%;
  }

  .wishlist-container{
    width: 95%;
    margin: 20px auto;
  }

  .wishlist-header{
    flex-direction: column;
    text-align: center;
  }

  .wishlist-header h1{
    font-size: 24px;
  }

  .wishlist-grid{
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .wishlist-card img{
    height: 300px;
  }

  .wishlist-info h3{
    font-size: 20px;
  }

  .price{
    font-size: 20px;
  }

  .add-cart-btn{
    height: 45px;
    font-size: 14px;
  }
}