
body {
    font-family: lato, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff5e4;
    
}

header{
  position: relative;
  top: 0;
  z-index: 1000; /* Ensures it stays above other elements */
  position: sticky; /* Makes the header sticky */
}
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #1f3f1d;
    /* Pakistan Green */
  
    z-index: 2;
  
  }
  
  .logo img {
    height: 80px;
  }
  
  .nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
  }
  
  .nav-links li a {
    font-family: lato,sans-serif;
    color: #fff5e4;
    /* rust */
    text-decoration: none;
  
  }
  
  .nav-links li a:hover {
    color: #ffffff;
    /* white */
    text-decoration: underline;
    text-underline-offset: 10px;
  }
  
  /* Icons Section */
  .icons {
    display: flex;
    gap: 20px;
    /* Space between icons */
    position: relative;
    right: 20px;
  }
  
  .icon-img {
    width: 20px;
    /* Adjust size */
    height: 20px;
    cursor: pointer;
    /* Makes it look clickable */
    transition: transform 0.2s ease;
  }
  
  .icon-img:hover {
    transform: scale(1.1);
    /* Slight zoom effect on hover */
  }
  
  /* Cart Icon */
  .cart-icon {
    width: 20px;
    /* Adjust size */
    height: 20px;
    cursor: pointer;
    /* Makes it look clickable */
    transition: transform 0.2s ease;
  }
  
  .cart-icon:hover {
    transform: scale(1.1);
    /* Slight zoom effect on hover */
  }
  
  
  /* Cart Sidebar */
  .cart-sidebar {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background-color: #fff5e4;
    /* Adjust background color as needed */
    box-shadow: -5px 0 10px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease-in-out;
    z-index: 999;
  }
  
  /* Cart Sidebar Header */
  .cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    background-color: #fff5e4;
    /* Slightly darker shade */
    border-bottom: 1px solid #1f3f1d;
  }
  
  /* Cart Header Title */
  .cart-header h2 {
    margin: 0;
    font-size: 18px;
    color: #1f3f1d;
  }
  
  /* Close Button */
  .close-cart {
    font-size: 24px;
    cursor: pointer;
    color: #1f3f1d;
  }
  
  /* Cart Content */
  .cart-content {
    padding: 20px;
    font-size: 16px;
    color: #1f3f1d;
  }
  
  /* Show Sidebar */
  .cart-sidebar.show {
    right: 0;
  }
  .cart-item {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.cart-item img {
    width: 80px;
    border-radius: 5px;
}

.cart-item-details h3 {
  font-family: playfair-display,serif;
    font-size: 18px;
    margin: 0;
    color: #1f3f1d;
}

.cart-item-details p {
  font-family: lato,sans-serif;
    margin: 5px 0;
    font-size: 14px;
}

.checkout-btn {
  font-family: lato,sans-serif;
  position: relative;
  left: 50px;
    height: 50px;
    width: 200px;

    background-color: transparent;
    color: #1f3f1d;
    border: 1px solid #1f3f1d;
    padding: 15px;
    font-size: 16px;
    cursor: pointer;
    margin-top: 20px;
}

.checkout-btn:hover {
    background-color: #1f3f1d;
    color: #fff5e4;
    border: 1px solid #1f3f1d;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    gap: 30px;
}

.breadcrumb {
    margin: 20px;
    font-size: 0.9rem;
    color: #444;
}

.breadcrumb a {
    font-family: lato,sans-serif;
    color: #000;
    text-decoration: none;
}

.breadcrumb span {
    font-family: lato,sans-serif;
    color: #1f3f1d
}

.product-image {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.product-image img {
    max-width: 100%;
    border-radius: 5px;
}

.product-info {
    flex: 1;
    color: #333;
}

.product-info h1 {
    font-family: playfair-display,serif;
    font-size: 50px;
    margin-bottom: 10px;
    color: #1f3f1d;
}   

.product-info .rating {
    font-family: lato,sans-serif;
    display: flex;
    align-items: center;
    font-size: 10px;
    margin-bottom: 20px;
    color: #1f3f1d
}

.product-info .rating span {
    margin-left: 10px;
    font-size: 0.9rem;
    color: #1f3f1d;
}

.product-info .price {
    font-family: lato,sans-serif;
    font-size: 25px;
    margin-bottom: 20px;
    color: #1f3f1d
}

.product-info .quantity {
    margin-bottom: 20px;
}

.product-info .quantity label {
    font-size: 1rem;
    position: relative;
    top: 0px;
    left: -1px;
    color: #1f3f1d
}

.product-info .quantity input {
    width: 50px;
    padding: 5px;
    font-size: 1rem;
}

.product-info .buttons {
    font-family: lato,sans-serif;
    display: flex;
    gap: 80px;
    margin-bottom: 50px;
}

.product-info .buttons button {
    flex: 1;
    padding: 10px;
    font-size: 1rem;
    border: 1px solid #1f3f1d ;
    position: relative;
    left: 1px;
    cursor: pointer;
}

 .buttons .add-to-cart {
    background-color: transparent;
    color: #1f3f1d;
}
.buttons .add-to-cart:hover{
  background-color: #1f3f1d;
  color: #fff5e4;
}


 .buttons .buy-now {
    background-color:transparent;
    color: #1f3f1d;
}
.buttons .buy-now:hover{
  background-color: #1f3f1d;
  color: #fff5e4;
}

.product-details {
    font-family: lato,sans-serif;
    margin-top: 20px;
    color: #1f3f1d;

}

.product-details h3 {
    font-family: plyfair-display,serif;
    font-size: 40px;
    margin-bottom: 10px;
    color: #1f3f1d;
}

.product-details p {
    font-family: lato,sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #1f3f1d;
}
/* WHATS INSIDE THAT MATTER */
.accordion {
    
    margin-top: 20px;
    border-top: 1px solid #ddd;
}

.accordion-item {
    border-bottom: 1px solid #ddd;
}

.accordion-item h4 {
    font-family: plyfair-display,serif;
    margin: 0;
    padding: 10px;
    cursor: pointer;
    background-color: transparent;
    color: #333;
    font-size: 20px;
}

.accordion-item h4:hover {
    background-color: #1f3f1d;
    color: #fff5e4;
}

.accordion-item p {
    font-family: lato,sans-serif;
    padding: 10px;
    display: none;
    font-size: 0.9rem;
    color: #1f3f1d;
}

.accordion-item.active p {
    display: block;
}


/* ingredients */

.ingredients-section {
    text-align: center;
    padding: 20px;
    background-color: #fff5e4;
}

.ingredients-section h2 {
    color: #1f3f1d;
    font-size: 50px;
    font-family: playfair-display,serif;
    margin-bottom: 30px;
}

.view-full-list-btn {
    font-family: lato,sans-serif;
    position: relative;
    top: -10px;
    background-color: transparent;
    color: #1f3f1d;
    padding: 10px 20px;
    border: 1px solid #1f3f1d;
    cursor: pointer;
    font-size: 16px;
}
.view-full-list-btn:hover{
    background-color: #1f3f1d;
    color: #fff5e4;

}
.ingredients-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.ingredient-card {
    background-color: transparent;
    border: 1px solid #1f3f1d;
    border-radius: 8px;
    padding: 15px;
    width: 250px;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.ingredient-card img {
    height: 200px;
    width: 200px;
    margin-bottom: 10px;
}

.ingredient-card h3 {
    font-family: playfair-display,serif;
    margin-bottom: 10px;
    color: #1f3f1d;
}
.ingredient-card p {
    font-family: lato,sans-serif;
    color: #1f3f1d;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    background:#1f3f1d;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 600px;
    text-align: left;
    color: #fff5e4;
}

.close-btn {
    font-size: 20px;
    font-weight: bold;
    color: #fff5e4;
    float: right;
    cursor: pointer;
}

.close-btn:hover {
    color: red;
}


/* revieww */
.reviews-section {
    font-family: lato, sans-serif;
    max-width: 900px;
    margin: 0 auto;
    background-color: #fff5e4;
    border-radius: 10px;
    padding: 20px;
    color: #1f3f1d;
}

h2 {
    color: #1f3f1d;
    font-family: playfair-display,serif;
    font-size: 50px;
    margin-bottom: 20px;
    text-align: center;
}

.reviews-overview {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.average-rating {
    flex: 1;
    text-align: center;
}

.rating-score {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stars {
    color: #fbbf24;
    font-size: 18px;
}

.ratings-count {
    font-size: 14px;
    color: #666;
}

.rating-breakdown {
    flex: 2;
    margin-left: 20px;
}

.rating-bar {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    gap: 10px;
    
}

.rating-bar span:first-child {
    width: 30px;
    text-align: right;
    font-size: 14px;
}

.bar {
    position: relative;
    top: 0.05px;
    left: 1px;
    flex: 1;
    background: #dcdada;
    height: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.bar .filled {
    height: 100%;
    border-radius: 5px;
}

.rating-bar span:last-child {
    width: 80px;
    text-align: left;
    font-size: 14px;
    color: #1f3f1d;
}

.rating-details {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
}

.rating-detail {
    background: #dcdada;
    padding: 10px 15px;
    border: 1px solid #eee;
    border-radius: 5px;
    text-align: center;
    width: 18%;
}

.rating-detail span {
    font-size: 16px;
    font-weight: bold;
    color: #1f3f1d;
}

.rating-detail p {
    font-size: 12px;
    color: #1f3f1d;
    margin-top: 5px;
}
/* testimonal */
.carousel-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
    background-color: #fff5e4;
    border-radius: 10px;
    padding: 20px;
    
  }
  
  .carousel {
    display: flex;
    transition: transform 0.5s ease;
  }
  
  .carousel-slide {
    display: flex;
    justify-content: space-between;
    flex-shrink: 0;
    width: 100%;
  }
  
  .carousel-item {
    flex: 1;
    max-width: 32%;
    background: transparent;
    margin: 10px;
    border-radius: 10px;
    padding: 20px;
    box-sizing: border-box;
    text-align: center;
    color: #1f3f1d;
  }
  
  .testimonial-text {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  .testimonial-info {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 10px;
  }
  
  .testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: 10px;
    border: 2px solid #555;
  }
  
  .testimonial-name {
    font-size: 16px;
    margin: 0;
  }
  
  .testimonial-role {
    font-size: 12px;
    color: #aaa;
    margin: 0;
  }
  
  .stars {
    color: #fbbf24;
    font-size: 18px;
  }
  
  .carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    color: #1f3f1d;
    border: 1px solid #1f3f1d;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
  }
  
  .carousel-btn.prev-btn {
    left: 10px;
  }
  
  .carousel-btn.next-btn {
    right: 10px;
  }
  
  .carousel-btn:hover {
    background: #1f3f1d;
    color: #fff5e4;
  }
  

/* Footer Section */
footer {
    background-color: #1f3f1d;
    color: #fff5e4;
    /* Mustard */
    padding: 50px 20px;
    text-align: center;
  
  }
  
  .newsletter {
    margin-bottom: 40px;
  }
  
  .newsletter h2 {
    font-family: playfair-display, serif;
    font-weight: 100;
    font-size: 48px;
    margin-bottom: 10px;
    color: #fff5e4;
  }
  
  .newsletter h2 em {
    font-style: italic;
    color: #fff5e4;
  }
  
  .newsletter p {
    margin-bottom: 20px;
    font-size: 18px;
  }
  
  label {
    position: relative;
    bottom: 22px;
    left: 49px;
    font-size: 13px;
  }
  
  .heading {
    position: relative;
    bottom: 28px;
  }
  
  .newsletter-form {
    display: flex;
    justify-content: center;
    gap: 10px;
  }
  
  .newsletter-form input {
    padding: 10px;
    width: 300px;
    border: 1px solid #fff5e4;
    outline: none;
    background-color: #1f3f1d;
    color: #fff5e4;
  }
  
  .newsletter-form button {
    padding: 10px 20px;
    background-color: transparent;
    color: #fff5e4;
    border: 1px solid #fff5e4;
    border-radius: 1px;
    cursor: pointer;
    font-weight: bold;
  }
  
  .newsletter-form button:hover {
    background-color: #fff5e4;
    border: 1px solid #1f3f1d;
    color: #1f3f1d;
  }
  
  .footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 30px;
    text-align: left;
  }
  
  .footer-column h3 {
    font-size: 18px;
    margin-bottom: 15px;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
  }
  
  .footer-column ul li {
    margin: 5px 0;
  }
  
  .footer-column ul li a {
    color: #fff5e4;
    text-decoration: none;
  }
  
  .footer-column ul li a:hover {
    color: #9ACD32;
    /* Yellow Green */
  }
  
  .footer-column p {
    margin: 10px 0;
    line-height: 1.5;
  }
  
  .social-links {
    margin-top: 10px;
  }
  
  .social-links a {
    margin: 0 5px;
    display: inline-block;
  }
  
  .social-links img {
    width: 24px;
    height: 24px;
  }
  
  .footer-bottom {
    border-top: 1px solid #fff5e4;
    padding-top: 20px;
    font-size: 14px;
    color: #fff5e4;
  }