*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;

}
body{
  background-color: aliceblue;
}
.top-navbar {
  display: flex;
  justify-content: space-between;
  background-color: rgb(67 0 86);
  /* background-color: #333; */
  color: white;
  padding: 10px 20px;
}

.top-navbar a {
  color: white;
  margin-left: 10px;
  text-decoration: none;
}
.contact-info{
 margin-left: 10px; 
 padding-top: 2px;
}
.contact-info span {
  margin-right: 10px;
}
.social-icons{
  margin-right: 40px;
  font-size: 20px;
}

@media (max-width: 768px) {
  .contact-info{
    margin-left:10px; 
    display: inline-flex;
    flex-direction: column;
    font-size: 1rem;
    color: white;
  }
  .social-icons{
    /* margin-top: 100px; */
    margin-right:50px;
    font-size: 25px;
  }
}
/* -----------------main-nav------------------- */


header {
  background-color:#f4f3ee;
  color: black;
  padding:20px;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.navbar .logo a {
  color:black;
  font-size: 26px;
  text-decoration: none;
  font-weight: 900;
}

.nav-links {
  display: flex;
  list-style-type: none;
  /* margin-top: 1rem; */
}

.nav-links li {
  margin: 0 20px;
  position: relative; /* Needed for the dropdown */
 
}

.nav-links a {
  font-size: 1.3rem;
  color:black;
  text-decoration: none;
  padding: 10px;
  /* font-weight: 600; */
  /* padding-left: 1%; */
}

.nav-links a:hover {
  background-color: #f39c12;
  border-radius: 5px;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  background-color: #333;
  list-style-type: none;
  padding: 10px 0;
  top: 100%;
  left: 0;
  width: 200px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.dropdown-menu li {
  padding: 10px;
  text-align: left;
}

.dropdown-menu li a {
  color: #fff;
  padding: 10px 20px;
  display: block;
  text-decoration: none;
}

.dropdown-menu li a:hover {
  background-color: #f39c12;
  border-radius: 5px;
}

/* Show the dropdown when hovering */
.dropdown:hover .dropdown-menu {
  display: block;
}

.cart {
  position: relative;
  right: 30px;
}

.cart-icon {
  color: black;
  font-size: 30px;
  text-decoration: none;
}

.cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  background-color: red;
  color: #fff;
  border-radius: 50%;
  padding: 4px 10px;
  font-size: 12px;
}

.cart:hover {
  background-color: #f39c12;
  border-radius: 5px;
  cursor: pointer;
}
/* Hamburger Button */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

.menu-toggle i {
  color: black;
}

/* For small screens */
@media (max-width: 768px) {
  .menu-toggle {
    display: block;
    font-size: 35px;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    background-color: #333;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1000;
  }
  .nav-links a {
    font-size: 1.2rem;
    color:white;
    text-decoration: none;
    padding: 10px;
    font-weight: 400;
    /* padding-top: 15px; */
    /* padding-left: 1%; */
  }
  
  .nav-links li {
    width: 100%;
  }

  .nav-links.show {
    display: flex;
  }

  .dropdown-menu {
    position: relative;
    background-color: #333;
  }

  
  .dropdown:hover .dropdown-menu {
    display: none;
  }

  .dropdown.open > .dropdown-menu {
    display: flex;
    flex-direction: column;
  }

  .cart {
    position: absolute;
    top: 15px;
    right: 80px;
  }
}

/* ----------------Cart Page--------------------- */
.cart-page {
  border: 1px solid;
    margin: 30px;
    padding: 0 50px;
  }
  
  .cart-page h2 {
    font-size: 28px;
    margin-bottom: 20px;
  }
  
  .cart-page table {
    width: 100%;
    border-collapse: collapse;
  }
  
  .cart-page th, .cart-page td {
    padding: 12px;
    text-align: center;
  }
  
  .cart-page th {
    background-color: #333;
    color: #fff;
  }
  
  .cart-page td img {
    width: 100px;
  }
  
  .cart-page .delete-btn {
    background-color: red;
    color: white;
    border: none;
    padding: 5px 10px;
    cursor: pointer;
  }
  
  .cart-page .delete-btn:hover {
    background-color: darkred;
  }
  
  .cart-page .quantity input {
    width: 40px;
    padding: 5px;
    text-align: center;
    border-radius: 5px;
  }
  
 
  .cart-page .total {
    font-size: 22px;
    margin-top: 20px;
    text-align: right;
  }
  
  .cart-page button {
    padding: 10px 20px;
    background-color: #27ae60;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
  }
  
  .cart-page button:hover {
    background-color: #2ecc71;
  }
  

   /* ----------------------------------------------------------------------------------------- */
 