.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: rgb(82, 10, 10);
}
ul {
    display: flex;
    gap: 20px;
    list-style: none;
    margin: 0;
    padding: 0;
}

ul li {
    position: relative;
}

i {
    font-size: 24px;
    transition: 0.3s ease;
}

i:hover {
    font-size: 30px;
    cursor: pointer;
    transform: translate(-10%, -10%);
}

body {
    background-color: rgb(82, 10, 10);
    color: white;
    padding: 10px;
}

.banner {
    height: 500px;
    background-color: gray;
}

.getstart {
    background-color: rgb(82, 10, 10);
    padding: 20px;
    font-family: 'Lucida Sans', sans-serif;
    border-radius: 10px;
    position: relative;
    top: 380px;
    left: 50%;
    transform: translateX(-50%);
    transition: all 0.5s ease;
    color: white;
}

.getstart:hover {
    background-color: white;
    color: rgb(82, 10, 10);
}


button {
    padding: 10px 20px;
    border-radius: 10px;
    background-color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: black;
    transition: background-color 0.3s ease;
}

button:hover {
    background-color: gray;
}
.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 70px;
    margin-right: 10px;
}
.site-name {
    font-size: 24px;
    font-family: 'Playwrite CU', cursive;
    color: white;
}
.container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 80px;
    padding: 20px;
}
.product {
    background-color: rgb(104, 14, 14);
    width: 180px;
    gap: 20px;
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    transition: transform 0.3s ease;
}
.product:hover {
    transform: scale(1.05);
}
.product img {
    max-width: 100%;
    border-radius: 8px;
}
.product h2 {
    font-size: 1.2rem;
    margin: 10px 0;
}
.product p {
    font-size: 1rem;
}
.add{
    background-color: rgb(146, 21, 21);
    color: white;
    padding: 10px;
    border-radius: 9px;
    width: 120px;
}
.add:hover{
    background-color: rgb(223, 223, 223);
    color: rgb(146, 21, 21);
}
/* General Styles for Navigation */
.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color:rgb(82, 10, 10);
    color: #fff;
    padding: 15px;
}

.logo-container {
    display: flex;
    align-items: center;
}

.logo {
    height: 50px;
    margin-right: 10px;
}

.site-name {
    font-size: 1.5rem;
    font-family: 'Playwrite CU', sans-serif;
}

.nav ul {
    display: flex;
    list-style-type: none;
    padding: 0;
}

.nav ul li {
    margin-right: 20px;
    font-size: 1.2rem;
}

.nav ul li i {
    color: white;
    cursor: pointer;
}

.nav ul li i:hover {
    color: #ccc;
}

.nav-icons {
    display: flex;
}

.nav-icons i {
    margin-left: 20px;
    font-size: 1.5rem;
}
.navbar{
    display: none;
}
/* Mobile Mode: Icons Under the Logo */
@media (max-width: 768px) {
    .nav {
        text-align: left;
        justify-content: left;
    }


    .nav ul {
        justify-content: center;
    }

    .nav-icons {
        margin-top: 15px;
    }
    .container {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* Two products in one line */
        gap: 12px;
        padding: 10px;
        width: 100%; /* Ensure container fits within the screen */
        box-sizing: border-box; /* Includes padding in element width/height */
        overflow-x: hidden; /* Prevents horizontal scrolling */
      }
      .product {
        width: 100%; /* Allow the product to take the full width of the grid cell */
        padding: 20px; /* Less padding for better fit */
        box-sizing: border-box; /* Ensure the padding is included in width */
      }
    
      .product img {
        max-width: 100%; /* Ensure the image scales properly */
      }
    
      .add {
        width: 100px; /* Adjust button width to fit better on mobile */
        padding: 8px; /* Reduced padding */
      }
}
#ch2{
    padding: 30px;
    border: none;
    border-radius: 30px;
    max-width: fit-content;
    text-align: center;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.section{
    height: 50px;
    width: 600px;
    padding: 20px;
    background-color: #ccc;
    border-radius: 20px;
    gap: 10px;
    margin-top: 20px;
}
.checkout{
    padding: 20px;
    margin-top: 30px;
    background-color: rgb(82, 10, 10);
    color: white;
}
.checkout:hover{
    color: rgb(82, 10, 10);
    background-color: white;
    
    border: 1px solid rgb(82, 10, 10);;
}
.re{
    text-align: right;
    background-color: #ccc;
    margin-left: 585px;
    margin-top: 10px;
}
.bag{
    padding: 10px;
    background-color:  rgb(82, 10, 10);
    color: white;
}
.bag:hover{
    color: white;
    background-color:  rgb(82, 10, 10);
}
#ch2::backdrop{
    
}
.product-details {
    display: flex;
    align-items: center;
    gap: 20px; /* Space between image and text */
}

.product-details img {
    max-width: 100%;
    border-radius: 8px; /* Adjust as needed */
}

.product-details .text {
    max-width: 600px; /* Adjust as needed */
    padding: 20px;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.product-details h1 {
    font-size: 2rem;
    margin-bottom: 10px;
}

.product-details p {
    font-size: 1.2rem;
    color: #333;
    margin-bottom: 20px;
}

.product-details .price {
    font-size: 1.5rem;
    font-weight: bold;
    color: rgb(82, 10, 10);
}
.view{
    background-color: rgb(138, 24, 24);
    color: white;
    margin-bottom: 20px;

}
.view:hover{
    background-color: white;
    color: rgb(138, 24, 24);
}
/* Update text color for cart items */
.cart .cart-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
    color: #8B4513; /* Brown color */
}

.cart .cart-item h3 {
    margin: 0;
    font-size: 16px;
    color: #8B4513; /* Brown color */
}

.cart .cart-item p {
    margin: 0;
    font-size: 14px;
    color: #8B4513; /* Brown color */
}
/* Basic navbar styling */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: rgb(82, 10, 10);
    color: white;
    display: none;
    height: 40px;
  }
  
  .navbar .logo {
    font-size: 1.2rem;
    font-weight: bold;
  }
  
  .nav-links {
    list-style-type: none;
    display: flex;
    gap: 20px;
  }
  
  .nav-links li a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
  }
  
  /* Hamburger styling */
  .hamburger {
    font-size: 2rem;
    display: none;
    cursor: pointer;
  }
  
  /* Responsive styling for mobile */
  @media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 60px;
        right: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.9);
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 30px;
        transition: transform 0.3s ease;
        transform: translateX(100%); /* Hidden off-screen */
        overflow: hidden; /* Prevent content overflow */
        z-index: 10;
        display: none; /* Hidden by default */
      }
    .nav{
        display: none;
    }
  
    .nav-links li a {
      font-size: 1.5rem;
    }
  
    .hamburger {
      display: block; /* Show hamburger in mobile view */
      position: relative;
      
      bottom: 60px;
    }
  
    /* When menu is active */
    .nav-links.active {
        display: flex;
        transform: translateX(0); /* Slide into view */
      }
    .navbar{
        display: block;
    }
    body.no-scroll {
        overflow: hidden;
        position: relative;
        width: 100vw; /* Make sure body stays within viewport */
        overflow-x: hidden; /* Prevent horizontal scroll */
      }
      html, body {
        max-width: 100%;
        overflow-x: hidden; /* Prevent horizontal scrolling */
      }
      
  }
   
  /* Ensure the menu is hidden by default */
  
  
  

  
  