
body {
    font-family: Orkney, sans-serif;
    margin: 0;
    padding: 0;
}

.header {
    color: white;
    padding-top: 0;
    position: sticky;  /* Keeps the header fixed at the top */
    top: 0;  /* Set the top offset to 0 */
    left: 0;  /* Align to the left */
    width: 100%;  /* Full width */
    z-index: 1000;  /* Make sure it's above other elements */
    background-color: #fff;  /* Ensure the background is white */
    /* box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); Optional: Add a small shadow for separation */
}

.top-bar, .main-bar, .menu-bar {
    width: 100%; /* Full width for bars */
}

.container {
    max-width: 1200px; /* Constrain items within 1200px */
    margin: 0 auto; /* Center the content */
    padding: 0 5px; /* Add some padding for smaller screens */
}

.top-bar {
    background-color: #014222;
    padding: 7px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
}

.contact-info span {
    margin-right: 10px;
}

.top-links a {
    color: white;
    text-decoration: none;
    margin-left: 10px;
    margin-right: 10px;
}

.main-bar {
    background-color: #ffffff;
    padding: 0px 0px;
    border-bottom: 2px solid #f0ecec;
}

.main-bar .container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* Space between logo and icons */
    width: 100%;  /* Ensure the container takes full width */
}

.main-bar a {
    text-decoration: none;
}

/* .header-text {
    font-size: 32px;
    font-weight: bold;
    letter-spacing: 1px;
    white-space: nowrap;
  padding-right: 50px;
  font-family:'poppins';

} */



.logo img {
    height: 70px;
   margin-right: 4px;
    margin-top: 15px; /* Adjust this value to move the logo downward */
}

.search-bar {
    position: relative;
    width: 40%;
    margin-left: 40px;
    padding: 0px 0px;
}

.search-bar input {
    width: 100%;
    padding: 10px 15px 10px 40px; /* Space for search icon on the left */
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 13px;
    box-sizing: border-box;
}

.icon-btn {
    position: absolute;
    left: 0; /* Position the button on the left side of the input */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #014222; /* Icon color */
    font-size: 16px;
    padding: 0;
}

.icon-btn:hover {
    color: #2d5ec0; /* Change color on hover for better UX */
}

.search-bar .icon {
    position: absolute;
    left: 10px; /* Position the icon inside the input on the left */
    top: 50%;
    cursor: pointer;
    padding-left: 10px;
    transform: translateY(-50%);
    font-size: 14px;
    color: #014222;
}

.clear-btn {
    position: absolute;
    right: 20px; /* Adjust for clear button */
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #014222;
    font-size: 18px;
    cursor: pointer;
    visibility: hidden; /* Initially hidden */
}


/* .main-bar .dropdown {
    padding-left: 5%; Default value for smaller screens
   
} */

/* For tablets and larger screens */
/* @media (min-width: 901px) {
    .main-bar .dropdown {
        padding-left: 5%; Adjust for tablets
    }
} */

/* For larger desktops */
@media (min-width: 1024px) {
    /* .main-bar .dropdown {
        /* padding-left: 40px; Fixed padding for large screens */
    /* } */
}
.icons {
    display: flex; /* Aligns items in a row */
    align-items: center; /* Vertically aligns items */
    justify-content: flex-end; /* Align items to the right */
}
.icon-link {
    position: relative; /* Ensures the cart icon and count are aligned properly */
    margin-right: 15px; /* Adds some space between cart icon and the price */
}
.icons a {
    margin-left: 35px;
    color:#014222;
    text-decoration: none;
    font-size: 17px;
}
.icons .person-a{
    margin-left: 10px;
}
.icons .cart-a{
    margin-left: 0px;
}
p {
    font-size: 14px;
    margin: 0;
}

/* Full-width menu background */
.menu .full-width {
width: 100%; /* Ensures the menu spans the entire width of the viewport */
border-bottom: 1px solid #cccccc74;

}

/* Centering the content within a constrained width */
.menu .container {
max-width: 1300px;
margin: 0 auto;
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px; /* Space between all child elements (arrows and categories) */
padding: 15px;
position: relative;
}



.categories-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: auto;
    margin-left: 40px;
    margin-right: 40px;

    scroll-behavior: smooth;
    gap: 30px; /* Space between categories */
    padding: 0 30px; /* Space for the scroll buttons */
    scrollbar-width: none; /* Hide scrollbar in Firefox */
    flex-grow: 1; /* Allow it to take available space */
}

/* Hide scrollbar for WebKit browsers */
.categories-wrapper::-webkit-scrollbar {
    display: none;
}

/* Arrow buttons */
.arrow {
    font-size: 13px;
    cursor: pointer;
    border: none;
    padding: 5px;
    border-radius: 50%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1; /* Ensure arrows are above other elements */
}

.arrow-left {
    position: absolute;
    top: 50%;
    margin-right: 20px;
    transform: translateY(-50%);
}

.arrow-right {
    position: absolute;
    right: 10px; /* Align on the right side of the categories */
    top: 50%;
    transform: translateY(-50%);
}

.menu a {
    display: flex;
    align-items: center;
    color: #014222;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    padding: 5px 5px;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.menu a img {
    width: 30px;
    height: 30px;
    margin-right: 8px;
}

.menu a:hover {
    /* background-color: #3D913D; */
    color: #2d5ec0;
}


@media (max-width: 767px) {
    
    .top-bar {
        display: none;
    }
    .icons{
        display: none;
    }
    i.fa-bars {
        font-size: 24px; /* Adjust icon size as needed */
        color: #014222;
        cursor: pointer; /* Change cursor to pointer for better UX */
    }
    /* Show the icons in a dropdown menu when clicked on small screens */
    .dropdown.show-dropdown .icons {
        display: block;
        position: absolute; /* Position dropdown under hamburger */
        top: 100%;/* Position dropdown below the hamburger icon */
        left:0;
        margin-left: -80px;
        background-color: #fff;
        border: 1px solid #ccc;

        width: 150px;
        height: 170px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        box-sizing: border-box;
        z-index: 100;
        

    }
    .dropdown.show-dropdown .icons a {

        display: block;
        padding: 10px;
        color: #014222;
        text-decoration: none;
        font-size: 14px;
        border-bottom: 1px solid #eee;
}
.dropdown.show-dropdown .icons a:hover {
    background-color: #f0f0f0;
    color: #2d5ec0;
}

}
/* Person Icon Dropdown Styling */
.person-icon {

position: relative;
cursor: pointer;


}

/* The dropdown content for the person icon */
#person-dropdown {
display: none; /* Hide dropdown by default */
position: absolute;
top: 100%; /* Position it below the person icon */
left: 0px; /* Position the person dropdown to the left of the hamburger dropdown */
background-color: #fff;
border: 1px solid #ccc;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
z-index: 1000;
min-width: 150px;
}

#person-dropdown a {
display: block;
padding: 10px;
color: #014222;
text-decoration: none;
font-size: 14px;
border-bottom: 1px solid #eee;
margin-left:0px;
text-align: center;
}

#person-dropdown a:hover {
background-color: #f0f0f0;
color: #2d5ec0;
}



/* Style for the navigation menu */
nav {
    background-color: #014222; /* Dark background for navigation */
    /* padding: 0px; */
    /* padding-left:75px; */
    display: block;
    justify-content: space-between;
    
}

/* Adjusting the nav-list to align left */
.nav-list {
    list-style: none;
    display: flex;
    align-items: center;
    justify-content: flex-start; /* Align all items to the left */
    margin: 0;
    padding: 0;
}

/* Style for individual navigation links */
.nav-list li {
    margin: 0 10px; /* Reduce space between links */
}

.nav-list a {
    text-decoration: none;
    color: white;
    font-size: 1.0rem;
    transition: color 0.3s ease;
    padding:0px 20px;
}

.nav-list a:hover {
color:#e9e5e3;}

/* Shop by Category (Hamburger Menu) */
.hamburger-menu-btn {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
}

/* Hamburger icon */
.hamburger-icon {
    font-size: 20px;
}


.nav-list li:hover .category-list {
display: block;
}

/* Shop by Category Button */
.shop-category-btn {
background-color: #014222;
color: rgb(245, 241, 241);
padding: 10px 20px;
border: none;
cursor: pointer;
font-size: 16px;
font-weight: bold;
border-radius: 4px;
margin-top: 10px;

}

.shop-category-btn:hover {
background-color: #6e9170;
}

/* Category Dropdown List Styles */
.category-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #014222;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    width: 250px;
    border-radius: 5px;
    font-family: Arial;
    z-index: 9999;
    margin-top: 0px; /* Additional margin for a gap (optional) */
    border-radius: 0px;
    
    }

.category-list ul {
list-style: none;
padding: 10px;
margin:0px;
}

.category-list li {
border-bottom: 1px solid #574e4e;
}

.category-list li:last-child {
border-bottom: none;
}

.category-list li a {
padding: 12px 15px;
display: block;
text-decoration: none;
color: #f7f7f7;
font-size: 14px;
transition: background-color 0.4s ease; 

}

.category-list li a:hover {
background-color: #b4b1b185;
}
/* Style for Offers and Products links */
.nav-link {
    font-size: 1.2rem;
    color: white;
    text-decoration: none;
    padding: 10px;
    transition: background-color 0.3s ease;
}

/* .nav-link:hover {
    background-color: #554d4c; Highlight on hover
    border-radius: 5px;
/* } */ 

.cart-count {
    position: absolute;
    top: 0; /* Reset the top value to 0 */
    right: -10px;
    background-color: red;
    color: white;
    border-radius: 50%;
    padding: 3px 7px;
    font-size: 12px;
    transform: translateY(-12px); /* Adjust this value to move it up */
}
/*css added by neha for mobile icons in small screen
/* Hide category list initially */
#category-list2,#dropdown-menu3 {
display: none; /* Hidden by default */
position: fixed; /* Fix it in place */
top: 120px; /*Adjust the position*/
left: 0%;
width: 100%; /* Make it responsive */
height: calc(100vh - 50px - 100px);
background-color: #fff;
z-index: 100; /* Above the overlay */
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
padding: 20px;
padding-bottom: 20px;
border-radius: 5px;

}
#category-list2 ul {
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
}

#category-list2 li {
    font-weight: bold; /* Make the text bold */
    padding: 10px;
    transition: background-color 0.3s; /* Smooth background change on hover */
}

#category-list2 li a {
    text-decoration: none; /* Remove underline from links */
    color: #333; /* Set text color */
    display: block;
    padding: 5px 10px; /* Padding inside the link */
}
/* 
#category-list2 li:hover {
    background-color: #f1f1f1; /* Add hover effect */
/* } */ */

/* #category-list2 li a:hover {
    color: #0e9e56; /* Change text color on hover */
/* } */ */

#category-list2 {
    /* max-height: 400px;  */
    height: 100vh;/* Set a max height for the list */
    overflow-y: auto;  /* Adds a vertical scrollbar if content exceeds the max height */
    padding: 10px;     /* Optional padding */
    padding-bottom: 260px;
    background-color: white; /* Optional background color */
  }
#overlay2 {
display: none; /* Initially hidden */
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
z-index: 1000; /* Below the category list but above everything else */
}

/* Hamburger menu styling */
#hamburger-menu ,#person-icon2{
font-size: 24px;
cursor: pointer;
display: block;
z-index: 1002; /* Above everything else */
}

/* Small screen styles */
@media screen and (max-width: 900px) {
#hamburger-menu ,#person-icon2{
font-size: 28px;
}
}
.menu2 {
display: none; /* Hidden by default on larger screens */
}

.menu2 ul {
list-style: none;
margin: 0;
padding: 0;
display: flex;
justify-content: space-around;
align-items: center;
background-color: #fff; /* Change background color as needed */
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
position: fixed;
bottom: 0;
left: 0;
right: 0;
z-index: 1000;
}

.menu2 ul li {
flex: 1; /* Equal space for each icon */
text-align: center;
}

.menu2 ul li a {
text-decoration: none;
color: #333; /* Icon color */
font-size: 1.5rem; /* Adjust icon size */
display: block;
padding: 10px 0;
transition: color 0.3s ease;
}

.menu2 ul li a:hover {
color: #014222; /* Highlight color */
}

/* Show menu only on small screens */
@media screen and (max-width: 900px) {
.menu2 {
display: block; /* Visible on small screens */
}
.top-bar {
    display: block;
    width: 100%; /* Ensure the top-bar takes full width of the screen */
    box-sizing: border-box; /* Prevent overflow */
    padding: 2px 0; /* Adjust padding to make the top bar look better */
    background-color: #014222; /* Or any color you want for the top bar */
}

.top-bar .container { 
    width: 100%; /* Ensure the container takes full width */
    padding: 0 15px; /* Add some padding on the sides for mobile screens */
    box-sizing: border-box;
    font-size: 6px;
}

.contact-info, .top-links {
    display: block;
    text-align: center; /* Center the content */
    margin: 5px 0; /* Add spacing between the elements */
}

.contact-info span, .top-links a {
    display: inline-block;
    margin: 0 5px; /* Add space between items */
}

.top-links a {
    color: white; /* Ensure links are visible */
    text-decoration: none;
}

/* Optional: Add some responsiveness to links */
.top-links a:hover {
    text-decoration: underline;
}
}

/* Styles for Small Screens (max-width: 767px) */
@media (max-width: 900px) {
/* Hide Top Bar and Icons */
.dropdown,.nav-list{
display: none;
}}
/* Initially hide the dropdown menu */
@media screen and (min-width: 901px) {
#dropdown-menu3, #category-list2 {
display: none;
}
}
@media (min-width: 901px) {
/* Ensure that popups are hidden on larger screens */
#dropdown-menu3, #category-list2 {
display: none !important;
}
}
/* /*css added by neha for mob icions ends  */
#dropdown-menu3 ul {
    list-style: none; /* Remove default list styling */
    padding: 0;
    margin: 0;
}

#dropdown-menu3 a {
    display: block; /* Make each link occupy a full line */
    padding: 10px 20px; /* Add padding around the link */
    font-weight: bold; /* Make the text bold */
    text-decoration: none; /* Remove underline */
    color: #333; /* Set text color */
    transition: background-color 0.3s, color 0.3s; /* Smooth transition for background and text color */
}

#dropdown-menu3 a:hover {
    background-color: #f1f1f1; /* Change background color on hover */
    color: #0e9e56; /* Change text color on hover */
}
/* Styles for search bar less than 620px */
@media (max-width: 610px) {
    .search-bar {
        margin-top: 115px;
        position: absolute;
        width: 80%;}
    .search-bar input {
            font-size: 14px;
            padding: 5px 70px 3px 40px;

        }
     .main-bar .header-text{  
        font-size: 28px;  /* Smaller font size for smaller screens */
        
    }
     .main-bar{
        padding-bottom: 50px;
        padding-top: 10px;
       

     }
    
     .main-bar .logo img {
        height: 60px;
        margin-top: 0px;
        margin-right: 5px;
        display: flex;
    justify-content: center; /* Center the logo horizontally */
        
    }
} 
 /* Basic styles for toggle category in mobile menu*/

  
  .toggle-btn {
    background: #ffffff;
    
    color: rgb(0, 0, 0);
    border: none;
    padding: 10px;
    width: 100%;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid #000000; /* Add a border */
    font-weight: bold; /* Makes the text bold */
  }
  .toggle-btn:hover {
    background-color: #f1f1f1;
  }
  .toggle-content {
    list-style-type: none; /* Remove bullets from the dropdown */
    padding-left: 20px;
    border: 2px solid #000000; /* Add a border */
    display: none; /* Initially hidden */
    max-height: 280px; /* Set a fixed height for the dropdown */
    overflow-y: auto; /* Enable vertical scrolling if content overflows */
  }
  
  .toggle-content li {
    padding: 5px 0;
    color:#014222;

  }
  
  .toggle-content li a:hover {
    background-color: #f1f1f1;
    
  }
  
  /* Style the icon */
  .toggle-icon {
    transition: transform 0.3s ease;
  }
  
  /* Rotate the icon when content is visible */
  .toggle-btn.active .toggle-icon {
    transform: rotate(180deg);
  }
  .list-new a {
    text-decoration: none;
    color: #333; /* Dark text color */
    display: block; /* Make the link fill the block */
    padding: 8px 15px; /* Add padding for a larger clickable area */
    font-weight: bold; /* Makes the text bold */
  }
  .list-new a:hover {
    
    background-color: #f1f1f1;
  }
    

/* Style the Modal */
.location-modal {
    display: none; /* Hidden by default */
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent background */
}

/* Modal Content */
.location-modal-content {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    padding: 20px;
    border:1px solid black;
    border-radius: 8px;
    width: 80%;
    max-width: 400px;
}

/* Close button */
.close-btn {
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
}

.close-btn:hover {
    color: black;
}

.location-select {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
}

#saveLocationBtn {
    padding: 10px 20px;
    background-color: #00712D;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 16px;
}

#saveLocationBtn:hover {
    background-color: #45a049;
}
.loc-msg{
    color:#e9631d;
    font-size: 12px;
}

/* Container for the cart link */
.cart-link-small {
    position: relative; /* Ensures child elements can be positioned absolutely relative to this */
    display: inline-block;
}

/* Cart count position */
.cart-count-small {
    position: absolute;
    top: 29%; /* Bring it even closer vertically */
    right: 44%; /* Bring it even closer horizontally */
    transform: translate(50%, -50%); /* Fine-tune the placement */
    background-color: red; /* Badge background color */
    color: white; /* Text color */
    font-size: 12px; /* Adjust font size */
    width: 18px; /* Badge width */
    height: 18px; /* Badge height */
    border-radius: 50%; /* Make it circular */
    text-align: center; /* Center-align text horizontally */
    line-height: 18px; /* Vertically center the text */
    font-weight: bold; /* Bold font for the count */
    z-index: 10; /* Ensure it appears above other elements */
}












