
:root {
  --primary: #F58546;
  --secondary: #F58546;
  --accent: #FFC636;
  --background: #FFFBF7;
  --text: #333333;
}

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

body {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  transition: 1s;
}

  /* Navbar */

  header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    padding: 1rem 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
  }

  .header-right {
    display: flex;
    align-items: center;
  }
  
  .nav-logo {
    height: 6rem;
    border-radius: .5rem;
  }

  .nav-links {
    display: flex;
    list-style: none;
    margin-right: 20px;
  }

  .nav-links li {
      margin: 0 1rem;
  }

  .nav-links a {
    text-decoration: none;
    color: black;
    font-size: 1.4rem;
    font-weight: 500;
    transition: 1s;
 }

  .nav-links a:hover {
      color: #F58546;;
  }

  .nav-menu-btn {
    display: none;
  }


  @media (max-width: 768px) {
    .nav-menu-btn {
      display: block;
      font-size: 2rem;
      cursor: pointer;
      z-index: 1100;
      color: black;
      margin-left: 12rem;
    }
  
    .header-right {
      position: fixed;
      top: 0;
      right: -100%; /* Hidden off-screen */
      width: 100%;
      height: 100vh;
      background-color:  #F58546;;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      transition: right 0.3s ease-in-out;
      z-index: 999;
      display: flex;
    }
  
    .header-right.active {
      right: 0; 
    }
  
    .nav-links {
      flex-direction: column;
      width: 100%;
      margin: 0;
    }
  
    .nav-links li {
      margin: 2rem 0;
      text-align: center;
    }

    .nav-links li a:hover {
       color: bisque;
    }
 
  }
  
/* Cart */

.cart-section {
  margin-top: 12rem;
}

.cart-container {
  position: relative;
}

.cart-icon {
  font-size: 1.5rem;
  color: var(--secondary);
  transition: color 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-icon:hover {
  color: var(--primary);
}

.cart-count {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--primary, #f8a100);
  color: white;
  font-size: 0.75rem;
  height: 20px;
  width: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}
.cart-container {
  max-width: 800px;
  margin: 2rem auto;
  padding: 1rem;
  font-family: Arial, sans-serif;
}

.cart-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  border-bottom: 1px solid #ccc;
  padding: 1rem 0;
}

.cart-item img {
  width: 100px;
  border-radius: 8px;
  margin-right: 2rem;
}

.cart-details {
  flex: 1;
}

.cart-details h3 {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  margin-top: -.2rem;
}

.cart-details p {
  margin-top: 1rem;
  font-size: 1.3rem;
}

.cart-actions {
  margin-left: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.5rem;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-right: .7rem;
  margin-bottom: 1rem;
  
}

.quantity-controls button {
  padding: 0.3rem 0.6rem;
  font-size: 1rem;
  cursor: pointer;
}

.remove-btn {
  background-color: crimson;
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  border-radius: 4px;
}
