
*{
    padding: 0;
    margin: 0;
    box-sizing:border-box;
  font-weight: normal;
  font-style: normal;
  
}

body::-webkit-scrollbar {
    width: 12px; /* Width of the scrollbar */
    height: 12px; /* Height for horizontal scrollbar */
  }
  

/* The scrollbar track (background) */
body::-webkit-scrollbar-track {
    background: #c19a6b; /* Light grey background */
    border-radius: 10px; /* Rounded corners */
  }

  
  /* The scrollbar handle (thumb) */
  body::-webkit-scrollbar-thumb {
    background: rgb(163, 12, 12); /* Custom color for scrollbar thumb */
    border-radius: 10px; /* Rounded corners for thumb */
  }
  
  /* Scrollbar thumb on hover */ 
  body::-webkit-scrollbar-thumb:hover {
    background: rgb(39, 37, 37); /* Darker shade on hover*/
  } 


/* --------------------------------------------------------  */
@font-face {
  font-family: "Coconat";
  src: url("fonts/Coconat-Regular.otf") format("otf"),
    url("fonts/Coconat-BoldExt.otf") format("otf");
  font-weight: normal;
  font-style: normal;
}


.site-header {
  font-family: system-ui, -apple-system, sans-serif;
  width: 100vw;
  background: white;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 3;


}

.main-nav {
  max-width: 100vw;
  margin: 0 auto;
  padding: 0 16px;
  font-family: 'Coconat', serif;
}

header {
  border-top: 7px solid #cd9950;
  border-bottom: 30px solid #da0428;
  padding: 0;
  margin: none;
  top: 0;
  position: fixed;
  
}
.nav-wrapper {
  display: flex;
  gap: 32px;
  padding: 12px 0;
}

.logo {
  flex-shrink: 0;
  padding-top: 8px;
}

.logo img {
  width: 180px;
  height: auto;
}

.nav-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 4px 0;
}

.mode-section {
  color: #666;
  font-size: 14px;
  padding-left: 10px;
}

.mode-label {
  color: #333;
  margin-right: 4px;
  font-size: 10px;
}

.top-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.search-container {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  background: white;
  border: none;
  border-left: none;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  border-radius: 0px 0px 0px 0px;
  width: 250px;
  height: 20px;
  position: relative;
}

.search-input {
  flex: 1;
  padding: 8px 12px;
  font-size: 14px;
  border-radius: 20px 20px 25px 20px;
  width: 270px;
  background-color: rgb(255, 255, 255);
  cursor: pointer;
  border: 1px solid #e31837;
  border-left: none;
  position: relative;
  color: rgb(180, 177, 177);
}

.search-btn {
  padding: 6px 12px;
  background: #e31837;
  border: none;
  border-right: 5px solid #e31837;
  border-radius: 25px 0 0 25px;
  color: white;
  cursor: pointer;
  position: absolute;
  z-index: 1;
}

.location-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: white;
  border: 1px solid #e31837;
  border-radius: 4px;
  font-size: 14px;
  color: #333;
  cursor: pointer;
  border-radius: 25px 25px 25px 25px;
}

.cart-btn,
.menu-btn,
.wishlist-btn,
.profile-btn {
  padding: 8px;
  background: none;
  border: none;
  cursor: pointer;
  color: #333;
}

.nav-end {
  display: flex;
  gap: 12px;
  margin-left: auto;
}


.bottom-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
}

.categories {
  display: flex;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0 0 0 12px; 
}

.categories li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.categories li a svg {
  margin: 4px;
}

.categories li a:hover {
  
  text-decoration: underline;
  background-size: 100% 2px;
}

.search-btn:hover {
  background: #c41830;
}

.location-btn:hover {
  border: 1px solid #e31837;
}


@media (max-width: 1024px) {
  .categories {
    gap: 16px;
  }

  .search-container {
    width: 250px;
  }
}

@media (max-width: 768px) {
  .nav-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .nav-content {
    width: 100%;
  }

  .top-row {
    flex-direction: column;
    gap: 16px;
  }

  .top-right {
    width: 100%;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .search-container {
    width: 100%;
    order: 1;
  }

  .bottom-row {
    flex-direction: column;
    gap: 16px;
  }

  .categories {
    flex-direction: column;
    width: 100%;
  }

  .categories li {
    border-bottom: 1px solid #e2e2e2;
    padding: 8px 0;
  }

  .nav-end {
    width: 100%;
    justify-content: flex-end;
  }
}






.category-item {
    position: relative;
  }
  
  .mega-menu {
    position: absolute;
    top: 160%;
    
    width: 150vw;
    /* background: #e4cbaf; */
    background-color: #FDF9F3;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    padding: 32px 0;
    display: flex;
    justify-content: center;
    
 }

 #savouries {
    left: 0%; 
    transform: translateX(-33%);
 }

 #mithai {
    left: 0%; 
    transform: translateX(-39%);
 }

 #bakery {
    left: 0%; 
    transform: translateX(-44%);
 }

 #ready-to-eat {
    left: 0%; 
    transform: translateX(-55.5%);
 }

 #pantry {
    left: 0%; 
    transform: translateX(-60%);
 }

 #trail {
    left: 0%; 
    transform: translateX(-69%);
 }


  

  .category-item:hover .mega-menu {
    opacity: 1;
    visibility: visible;
  }
  
  .mega-menu-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 16px;
    position: relative;
    display: flex;
    justify-content: space-around;
    width: 100%;
  }
  
  .mega-menu-header {
    max-width: 400px;
    margin-bottom: 32px;
    margin-right: 200px;
  }
  
  .mega-menu-header h2 {
    font-family: 'Coconat', serif;
    font-size: 32px;
    margin-bottom: 16px;
    color: #333;
  }
  
  .mega-menu-header p {
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin-bottom: 24px;
  }
  
  .view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: #cd9950;
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-size: 14px;
    transition: background-color 0.3s ease;
  }
  
  .view-all:hover {
    background: #b88844;
  }
  
  .mega-menu-categories {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    
  }
  
  .category-card {
    flex: 1;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
    background-color: white;
  }
  
  .category-card:hover {
    transform: translateY(-4px);
  }
  
  .category-image {
    aspect-ratio: 1/1;
    height: 196px;
    overflow: hidden;
    border-radius: 10px;
  }
  
  .category-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
  }
  
  .category-info {
    padding: 16px;
    padding-top: 2px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    background: white;
  }
  
  .category-info h3 {
    color: #333;
    font-size: 14px;
    margin: 0;
    display: flex;
    justify-content: left;
  }
  
  .circle-arrow {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #cd9950;
    border: none;
    display: flex;
    align-items: center;
    justify-content: right;
    cursor: pointer;
    transition: background-color 0.3s ease;
    float: right;
    margin-left: 30px;
  }
  
  .circle-arrow svg {
    color: white;
  }
  
  .circle-arrow:hover {
    background: #b88844;
  }

  @media (max-width: 1024px) {
    .mega-menu {
      position: static;
      box-shadow: none;
      padding: 16px 0;
    }
    
    .mega-menu-categories {
      flex-direction: column;
    }
    
    .mega-menu-header {
      max-width: 100%;
    }
  }
  
  @media (max-width: 768px) {
    .nav-wrapper {
      flex-direction: column;
      gap: 16px;
    }
    
    .nav-content {
      width: 100%;
    }
    
    .top-row {
      flex-direction: column;
      gap: 16px;
    }
    
    .top-right {
      width: 100%;
      flex-wrap: wrap;
      justify-content: space-between;
    }
    
    .search-container {
      width: 100%;
      order: 1;
    }
    
    .bottom-row {
      flex-direction: column;
      gap: 16px;
    }
    
    .categories {
      flex-direction: column;
      width: 100%;
    }
    
    .categories li {
      border-bottom: 1px solid #e2e2e2;
      padding: 8px 0;
    }
    
    .nav-end {
      width: 100%;
      justify-content: flex-end;
    }
  }

   /* --------------------------------------- banner */
   .banner{
    position: relative;
}

.banner> div{
    display: flex;
    position: absolute;
    bottom: 0px;
    height: 20%;
    width: 100vw;
    background-color: #CEA061;
    opacity: 0.9;
    color:#FFF1E6;
    /* justify-content: space-evenly; */
    align-items: center;
    gap: 20px;
    padding-left: 2%;
    font-size: large;
    
}

img{
    height: 90vh;
    width: 100vw;
}



/* ----------------------------------  */


.box1{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5vh;
    width: 100vw;
    padding: 2%;
    margin: 2%;
    margin-bottom: 3%;

}

.box1> .one{
    display: flex;
    gap: 10px;
    text-decoration: none;
    color: black;
    font-size: larger;
}

/* dropdown */
/* Dropdown Button */
.dropbtn {
    background-color: red;
    color: #FFF1E6;
    padding: 16px;
    font-size: 16px;
    border: none;
    width: auto;
    border-radius: 10px;
  }
  
  /* The container <div> - needed to position the dropdown content */
  .dropdown {
    position: relative;
    display: inline-block;
    
    
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    /* background-color: white; */
    background-color: rgb(245, 234, 214);
    border-radius: 10px;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
  }

  
  /* Links inside the dropdown */
  .dropdown-content label {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
  }
  
  /* Change color of dropdown links on hover */
  .dropdown-content label:hover {
    background-color:#CC9850;

  }
  
  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {display: block;}
  
  /* Change the background color of the dropdown button when the dropdown content is shown */
  .dropdown:hover .dropbtn {background-color: #CEA061;
  color: black;}


  /* ---------------------------------------  */

  .main-body {
    display: flex;
    margin-bottom: 5%;
}

.left{
    width: 20vw;
    height:100vh ;
    background-color: white;
    overflow-y: hidden;
}

.right{
    width: 80vw;
    height: 100vh;
    background-color:white;
    padding: 40px 20px;
    display: flex;
    flex-wrap: wrap;
    /* justify-content: space-evenly; */
    overflow-y: scroll;
    
}

.right::-webkit-scrollbar {
    display: none; /* Hides the scrollbar */
  }

/* --------------- side  */

.side-menu {
    width: 15vw;
    border: 2px solid #d7b27c;
    border-radius: 10px;
    padding:30px 10px;
    background-color: white;
    margin:30px;
    margin-top: -0.05%;

  }

  .menu-item {
    margin-bottom: 30px;
  }

  

  /* Checkbox for toggle */
  .menu-checkbox {
    display: none;
  }

  .menu-title {
    font-weight:500;
    font-size: 15px;
    color: #8c2f2f;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
   
  }

  .submenu {
    list-style: none;
    padding-left: 10px;
    display: none;
  }

  .submenu>li:hover {
    /* background-color: #e4cbaf; */
    border-radius: 4px;
    background-color: rgb(160, 68, 68);
    color: white;
  }

  li{
    margin-bottom: 8px;
    margin-top: 4px;
  }

  /* Toggle submenu */
  .menu-checkbox:checked + .menu-title + .submenu {
    display: block;
  }

  /* Decorative Borders */
  .side-menu::before,
  .side-menu::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 10px;
    background-size: contain;
}


/* ---------------- right  */

.box2{
    text-align: left;
    height: 10%;
    width: 80vw;
    background-color: white;
    color: #922637;
    margin-bottom: 20px;
    margin-top: -30px;
    font-size: x-large;
}



.product-section {
    display: flex;
    gap:3em;;
    justify-content: space-evenly;
    flex-wrap: wrap;
    align-items: flex-start;
    /* position: absolute; */
    /* top: 20%;
    left: 20%; */
    

  }

  


/* ---------------------------------------------------------------------  */
  /* Card */
  .card {
    width: 300px;
    /* height: 70vh; */
    border: 2px solid #d7b27c;
    border-radius: 10px;
    padding: 15px;
    background-color: white;
    text-align: center;
    /* position: relative; */
    
  }

  .card:hover{
    transform: scale(1.07);
    
  }


  .card::before {
    top: -12px;
  }

  .card::after {
    bottom: -12px;
    
  }

  .card img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
  }

  /* .card img:hover{
    transform: scale(1.1);
  } */

  .card h3 {
    font-size: 1rem;
    margin-bottom: 5px;
  }

  .card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }

  .buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  .buttons button {
    border: 1px solid #8c2f2f;
    background-color: #fdf8f3;
    color: #8c2f2f;
    border-radius: 5px;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
  }

  .buttons button:hover {
    background-color: #8c2f2f;
    color: white;
  }






/* --------------------- links  */

/* .cards{
    height: 30vh;
    width: 100vw;
    background-color: blue;
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.links{
    height: 10vh;
    width: 100vw;
    background-color: black;
    color: white;
    display: flex;
} */


.links{
    height: 30vh;
    width: 100%;
    background-color: #DA0428;
    /* position: relative;
    top: -30px; */
  }

  .category-grid2 {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    z-index: 1;
    position: relative;
    top: 40px;
  }
  
  .category-item2 {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    cursor: pointer;
    
  }
  
  .category-item2 img {
    width: 100%;
    height: auto;
    transition: transform 0.3s ease;
    
  }
  
  .category-item2:hover img {
    transform: scale(1.05);
  }

  .description{
    
    display: flex;
    flex-direction: column;
    gap:30px;
    margin: auto;
    margin-top: 50px;
    padding: 50px;
    padding-top: 10%;
  }

  #Extensive-range{
    display: flex;flex-direction: column;
    gap: 20px;
  }

  .description h2{
    margin-bottom: 20px;
  }

  .description li{
    margin-left: 20px;
  }

  .description strong{
    font-weight: bold;
  }

/* ------------------ footer  */

.site-footer {
    background-color: #fff;
    font-family: "Concat";
  }
  
  .container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  
  .newsletter-banner {
    background-color: #da0428;
    color: #fff;
    padding: 20px 0;
  }
  
  .newsletter-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    
  }
  .newsletter-content-written {
    flex-direction: column;
    display: flex;
    justify-content: space-between;
    gap: 10px;
  }
  
  .newsletter-content h2 {
    font-family: "Coconat", serif;
    font-size: 24px;
    margin: 0;
  }
  
  .newsletter-content p {
    margin: 0;
    font-size: 14px;
  }
  
  .newsletter-form {
    display: flex;
    gap: 0px;
    flex: 1;
    max-width: 400px;
  }
  
  .newsletter-form input {
    flex: 1;
    padding: 10px 15px;
    border: none;
    border-radius: 4px 0 0 4px;
    font-size: 14px;
  }
  
  .newsletter-form button {
    background-color: #cd9950;
    color: white;
    border: none;
    border-radius: 0 4px 4px 0;
    padding: 10px 20px;
    cursor: pointer;
    transition: background-color 0.3s ease;
  }
  
  .newsletter-form button:hover {
    background-color: #b88844;
  }
  
  
  .footer-content {
    padding: 60px 0;
  }
  
  .footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
  }
  
  .footer-column h3 {
    color: #333;
    font-size: 16px;
    margin: 0 0 20px;
    font-weight: 600;
  }
  
  .footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .footer-column ul li {
    margin-bottom: 12px;
  }
  
  .footer-column ul li a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
  }
  
  .footer-column ul li a:hover {
    color: #da0428;
  }
  
  .company-info {
    color: #666;
    font-size: 14px;
  }
  
  .footer-logo {
    width: 180px;
    height: 100px;
    margin-bottom: 20px;
  }
  
  .company-details p {
    margin: 0 0 8px;
  }
  
  address {
    font-style: normal;
    margin-top: 20px;
    line-height: 1.5;
  }
  
  .footer-bottom {
    margin-top: 20px;
    padding-top: 0px;
    border-top: none;
    padding-right: 150px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .footer-bottom p {
    color: #666;
    font-size: 14px;
    margin: 0;
  }
  
  .social-links {
    display: flex;
    gap: 10px;
  }
  
  .social-links a {
    color: #666;
    transition: color 0.3s ease;
  }
  
  .social-links a:hover {
    color: #da0428;
  }
  
  
  @media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
  
    .company-info {
        grid-column: 1 / -1;
    }
  }
  
  @media (max-width: 768px) {
    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }
  
    .newsletter-form {
        max-width: 100%;
    }
  
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
  
    .footer-bottom {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
  }
  
  @media (max-width: 480px) {
    .newsletter-form {
        flex-direction: column;
    }
  
    .newsletter-form button {
        width: 100%;
    }
  }