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

.nav-bar {
    width: 100%;
    display: flex;
    justify-content:space-between ;
    background-color: black;
    text-align: end;
    padding: 10px 10px;
}
.nav-bar a{
    text-decoration: none;
    color: white;
    display: flex;
    align-items: end;
 margin: 10px 10px;
 font-size: 22px;

}
.nav-bar a:hover {
    color: white;
}
.nav-bar i{
    width: 27px;
    color: white;
   margin-left: 10px;
}
a{
    margin-top: 100px;
    font-size: 23px;
  padding-top: 20px;
    text-decoration: none;
    color: black;
}
.nav-bar h1{
   margin-top: 30px;
    color: white;
}


.main {
 
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #8d8585;
  font-size: 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}
.main h2 {
    margin-top: 100px;
  text-align: center;
  margin-bottom: 1rem;
  font-size: 2rem;
  color: #e2dcdc;
}

#cart-items {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
#logout-btn{
  padding: 10px;
  width: 100px;
  border-radius: 6px;
}
.cart-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  border: 1px solid #eee;
  border-radius: 10px;
  background: #fafafa;
  transition: box-shadow 0.2s;
}

.cart-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.cart-item img {
  width: 60px;
  height: 60px;
  object-fit: contain;
  border-radius: 8px;
  background-color: #f5f5f5;
  padding: 5px;
}

#clear-cart {
  margin-top: 1.5rem;
  display: block;
  margin-left: auto;
  padding: 0.6rem 1.2rem;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: background-color 0.3s ease;
}

#clear-cart:hover {
  background-color: #0056b3;
}