* {
  margin: 0px;
  padding: 0px;
  font-family: sans-serif;
  text-decoration: none;
  /* background-color: #fff; */
  box-sizing: border-box;
  /* overflow-x: hidden; */
}
header {
  display: flex;
  align-items: center;
  gap: 40px;
  border-top: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  /* position: fixed; */
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #ffffff;
  z-index: 1000;
  justify-content: space-between;
  /* height: 150px; */
  padding: 10px -2px;
}
.headerLeft {
  display: flex;
  align-items: center;
}
.logo {
  padding: 24px 30px;
  border-right: 1px solid #ccc;
}
.logo img {
  height: 35px;
  width: auto;
  cursor: pointer;
}
.headerAddress {
  padding: 20px 30px;
  cursor: pointer;
}
.headerAddress h3 {
  margin-bottom: 5px;
  font-size: 16px;
}
.headerAddress p {
  font-size: 12px;
}

.headerAddress:hover,
.login:hover {
  background-color: #fcfcfc;
}
.header-loc {
  display: flex;
  gap: 4px;
}

.searchBox {
  position: relative;
  display: flex;
  align-items: center;
  max-width: 500px;
  width: 100%;
  flex-grow: 1;
  display: flex;
  background-color: #f8f8f8;
  border: 1px solid #f4f4f4;
  border-radius: 15px;
flex-grow: 1;
  transition: all 0.3s ease;
}
.searchBox button {
  padding: 15px;
  background-color: transparent;
  border: none;
}
.searchBox input {
  flex-grow: 1;
  background-color: transparent;
  border: none;
}
#searchInput {
  border: none;
  outline: none;
}
.searchBox input:focus ~ .placeholder-container,
.searchBox input:not([value=""]) ~ .placeholder-container {
  outline: none;
}
.placeholder-container {
  position: absolute;
  left: 52px;
  pointer-events: none;
  color: #999;
  font-size: 16px;
  width: calc(100% - 70px);
  overflow: hidden;
}
.animated-placeholder {
  display: inline-block;
  animation: fadeInOut 3s ease-in-out infinite;
}
@keyframes fadeInOut {
  0%,
  100% {
    opacity: 0;
    transform: translateY(8px);
  }
  10%,
  90% {
    opacity: 1;
    transform: translateY(0);
  }
}

.headerBtn {
  display: flex;
  gap: 36x;
  margin-right: 40px;
}
.headerBtn a,
.headerBtn button {
  padding: 15px 30px;
  background-color: transparent;
  border: none;
  font-size: 18px;
  text-decoration: none;
  color: black;
  cursor: pointer;
}
#cart-btn {
  background-color: rgb(12, 131, 31);
  color: white;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  padding: 15px 22px;
}
#cart-btn i {
  margin: 0px 5px;
}

/*Location Container */

#locationModalOverlay {
  position: fixed;
  top: 20%;
  display: none;
  left: 10%;
  /* width: 100%; */
  /* height: 100%; */
  /* background: rgb(51, 51, 51); */
  z-index: 10;
  backdrop-filter: blur(80px);
}
#locationModalOverlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
.location-modal-container {
  background: rgb(244, 246, 252);
  width: 100%;
  max-width: 450px;
  border-radius: 12px;
  padding: 30px;
  position: relative;
  animation: slideUp 0.3s ease;
}
.close-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 20px;
  color: #666;
  cursor: pointer;
  transition: color 0.2s ease;
}
.location-container h5 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  color: #333;
}

.location-btn {
  display: flex;
  /* flex-direction: column; */
  gap: 15px;
}

.detect {
  padding: 14px 10px;
  background-color: #0c831f;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 12px;
  /* font-weight: 400; */
  cursor: pointer;
  transition: background-color 0.2s ease;
}
.or-cont {
  background-color: #fff;
  border-radius: 50%;
  margin-top: 12px;
  width: 55px;
  height: 35px;
  text-align: center;
}
.or {
  text-align: center;
  color: #999;
  font-size: 14px;
  margin: 5px 0;
}
.location-btn input {
  padding: 14px 10px;
  border: 2px solid #e5e5e5;
  border-radius: 8px;
  font-size: 15px;
  outline: none;
  transition: border-color 0.2s ease;
}

/* login page */
#modalOverlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
#modalOverlay.active {
  display: flex;
  justify-content: center;
  align-items: center;
}
.log-logo {
  height: 60px;
  width: 65px;
}
.modal-container {
  background: white;
  width: 90%;
  max-width: 480px;
  border-radius: 16px;
  position: relative;
  animation: slideUp 0.3s ease;
  overflow: hidden;
}
.back-arrow {
  position: absolute;
  top: 20px;
  left: 20px;
  font-size: 24px;
  color: #333;
  cursor: pointer;
  z-index: 10;
  transition: transform 0.2s ease;
}
.back-arrow:hover {
  transform: translateX(-3px);
}
.modal-content {
  padding: 60px 40px 40px;
  text-align: center;
}
.modal-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}
.modal-subtitle {
  font-size: 15px;
  color: #666;
  margin-bottom: 30px;
}
.phone-input {
  border: none;
  outline: none;
}
.phone-input-wrapper {
  display: flex;
  align-items: center;
  border: 2px solid #e5e5e5;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}
.terms {
  margin-top: 20px;
  font-size: 13px;
  color: #666;
  line-height: 1.5;
}
.terms a {
  color: #0c831f;
  text-decoration: none;
  font-weight: 500;
}
.continue-btn {
  width: 100%;
  background: #cecdcd;
  color: #fff;
  border: none;
  padding: 16px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
}

/* Cart Page */
#cartModal {
  position: fixed;
  top: 0;
  right: -450px;
  width: 450px;
  height: 100vh;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  z-index: 9999;
  transition: right 0.3s ease;
  display: flex;
  flex-direction: column;
}
#cartModal.active {
  right: 0;
}
.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.cart-overlay.active {
  opacity: 1;
  visibility: visible;
}
.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  background: #f9f9f9;
  border-bottom: 1px solid #ddd;
}
.cart-header h1 {
  font-size: 24px;
  font-weight: 700;
}
.cart-header i {
  font-size: 24px;
  cursor: pointer;
}
.delivery-info {
  background: #fff8e1;
  padding: 15px 25px;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid #e0e0e0;
}
.delivery-info i {
  font-size: 24px;
  color: #0c831f;
}
.delivery-info div h3 {
  font-size: 16px;
  margin-bottom: 2px;
}
.delivery-info div p {
  font-size: 12px;
  color: #666;
}
.cart-items {
  flex: 1;
  overflow-y: auto;
  padding: 20px 25px;
}
.cart-item {
  display: flex;
  gap: 15px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
}
.cart-item:last-child {
  border-bottom: none;
}
.cart-item img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 8px;
  background: #f9f9f9;
}
.cart-item-info {
  flex: 1;
}
.cart-item-info h4 {
  margin-bottom: 5px;
  font-size: 14px;
}
.bill-details{
  font-size:12px;
  gap:5px;
  display: flex;
  margin-bottom: 5px;
  flex-direction: column;
}
.bill-row{
  display: flex;
  justify-content: space-between;
}
.cart-item-info p {
  margin-bottom: 10px;
  color: #666;
  font-size: 12px;
}
.cart-item-price {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: space-between;
}
.cart-item-price b {
  font-size: 16px;
}
.quantity-controls {
  display: flex;
  gap: 12px;
  align-items: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 5px;
}
.quantity-controls button {
  background: none;
  border: none;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  color: #0c831f;
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease;
}
.quantity-controls span {
  min-width: 30px;
  text-align: center;
}

.cart-footer {
  border-top: 1px solid #ddd;
  padding: 20px 25px;
  background-color: #fff;
}
.cart-total {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
}
.checkout-btn {
  width: 100%;
  padding: 15px;
  background: #0c831f;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}
.empty-cart {
  text-align: center;
  padding: 80px 40px;
}
.empty-cart img {
  width: 150px;
  margin-bottom: 20px;
  opacity: 0.5;
}
.empty-cart p {
  font-size: 18px;
  color: #999;
  margin-bottom: 20px;
}
.empty-cart button {
  background: #0c831f;
  color: white;
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
}

/* hero section */
.bannerSection {
  max-width: 1280px;
  margin: 0px auto;
  /* margin-top: 100px; */
}
.bannerSection img {
  width: 100%;
  display: block;
  cursor: pointer;
}
.orderBanner {
  display: flex;
  max-width: 1280px;
  margin: auto;
}
.orderBannerItems {
  flex-basis: 28%;
  margin: 1%;
  cursor: pointer;
}
.orderBannerItems img {
  width: 100%;
}
.categorySection {
  max-width: 1280px;
  margin: 30px auto;
  padding: 0 10px;
  display: flex;
  flex-wrap: wrap;
}
.categorySection img {
  width: 100%;
}
.categoryItems {
  flex-basis: 9.5%;
  margin: 5px 0.25%;
  box-sizing: border-box;
  text-align: center;
  cursor: pointer;
}
.categoryItems img {
  width: 100%;
  height: auto;
}
.headingRow h2 {
  font-size: 22px;
}
.headingRow a {
  color: #328839;
  font-size: 18px;
  cursor: pointer;
  text-decoration: none;
}
.productsContainer{
  justify-content: center;
  display: flex;
  margin: 0 auto;
    padding: 0 20px;
  align-items: center;
}
.productRow{
  /* justify-content: center; */
  /* overflow: scroll; */
  /* display: flex; */
  /* align-items: center; */
   overflow-x: auto;
    scroll-behavior: smooth;
    /* padding: 20px 0; */
    padding: 20px 5px;
    /* margin-left: 10px; */
  /* flex-direction: column; */
}
.productItems {
  min-width: 180px;
  max-width: 180px;
  flex-shrink: 0; /* ✅ Prevents shrinking - MOST IMPORTANT! */
  
  /* Styling */
  background: #fff;
  border-radius: 15px;
  border: 1px solid #e0e0e0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  transition: all 0.3s ease;
}
.productImg {
  text-align: center;
  padding: 15px;
}
.productImg p {
  font-size: 12px;
  background-color: #f8f8f8;
  width: 60px;
  gap: 5px;
  justify-content: center;
  display: flex;
  align-items: center;
  padding: 2px;
  text-align: left;
}
.productContent {
  padding: 15px;
  padding-top: 0;
}
.productContent h3 {
  margin-bottom: 15px;
  font-size: 14px;
}
.productContent p {
  color: #848080;
  font-size: 14px;
}
.btn-price-outer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 15px;
}
.btn-price-outer button {
  border: 1px solid #328839;
  padding: 5px 15px;
  border-radius: 10px;
  background-color: #f7fff9;
  cursor: pointer;
}
.productRow a {
  position: absolute;
  top: 60%;
  transform: translateY(-50%);
  z-index: 10;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #1f1e1e;
  text-decoration: none;
}
.productSection {
  margin: 20px 0;
}
.headingRow {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  padding: 0 60px;
}
.productRowWrapper {
  position: relative;
  padding: 0 60px;
  /* overflow: hidden; */
}
.productRow {
  display: flex;
  gap: 20px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  padding: 10px 0;
}
.productRow::-webkit-scrollbar {
  display: none;
}
.productItems {
  flex: 0 0 180px;
  background: #fff;
  border-radius: 15px; 
  box-shadow: 0px 0px 10px 2px #fcfcfc;
  border: 1px solid #ccc;
  cursor: pointer;
  transition: transform 0.2s;
}
.productRowWrapper a {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #1f1e1e;
  text-decoration: none;
  cursor: pointer;
}
.control_prev {
  left: 10px;
}
.control_next {
  right: 10px;
}

/* Footer */

footer {
  padding: 40px 0px 0px 0px;
}
.footer-mid {
  max-width: 1280px;
  margin: auto;
}
.footer-mid-row1 {
  width: 100%;
  display: flex;
  gap: 40px;
}
.footer-mid-row1-left {
  flex-basis: 30%;
  margin-left: 30px;
}
.footer-mid-row1-left h3 {
  margin-bottom: 20px;
}
.useFullLinks {
  display: flex;
}
.useFullLinks ul {
  flex-basis: 33%;
  list-style: none;
}
.useFullLinks ul li a {
  font-size: 14px;
  display: block;
  color: rgb(102, 102, 102);
  margin-bottom: 15px;
}
.footer-mid-row1-right {
  flex-basis: 70%;
}
.categoriesHeadingRow {
  display: flex;
  margin-bottom: 20px;
  gap: 15px;
  align-items: center;
}
.FooterLinks__List {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 15px;
  list-style: none;
}
.FooterLinks__List li {
  flex-basis: 30%;
}
.FooterLinks__List li a {
  font-size: 14px;
  display: block;
  color: rgb(102, 102, 102);
  margin-bottom: 7px;
}
.footer-mid-row3 {
  color: rgb(102, 102, 102);
  padding: 20px 30px;
  font-size: 14px;
  line-height: 20px;
}
.footer-mid-row2 {
  background-color: #fcfcfc;
  width: 100%;
  padding: 20px 0;
  display: flex;
  align-items: center;
}
.footer-mid-row2 p {
  flex-basis: 40%;
  text-align: center;
  font-size: 14px;
}
.appIcons {
  flex-basis: 30%;
  align-items: center;
  gap: 10px;
  display: flex;
}
.footer-mid-row2 {
  gap: 20px;
}
.sLinks {
  display: flex;
  gap: 10px;
}
.sLinks i {
  width: 40px;
  height: 40px;
  cursor: pointer;
  background-color: #1f1f1f;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}


