@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 62.5%;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  background: #fff;
  color: #333;
  line-height: 1.6;
}

.wallpaper {
  max-width: 90%;
  margin: 0 auto;
}

/* Header Section */
header.header {
  background-color: #fff;
  padding: 30px 20px;
  position: sticky;
  top: 0; /* Stick to the top */
  z-index: 1000; /* Ensure header is always on top */
  /* box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1); */
  transition: box-shadow 0.3s ease; /* Smooth transition for shadow */
}

/* When header is sticky and the user scrolls */
header.header.sticky {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* Header container */
.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
}

/* Ensure the mobile search bar and icons adjust properly when header is sticky */
.mobile-searchbar,
.mobile-logo-icons-wrapper {
  display: none;
}

/* Adjust logo size and position */
.logo {
  width: 150px;
}

/* Main Navigation */
.main-nav {
  display: flex;
  gap: 30px;
}

.main-nav a {
  cursor: pointer;
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
  color: black;
  text-decoration: none;
}

.main-nav a:hover {
  color: #4ebf0c;
}

/* Search Bar */
.searchbar {
  display: flex;
  align-items: center;
  border: 1px solid #f1f1f1;
  width: 50%;
  overflow: hidden;
  border-radius: 5px;
}

.searchbar .fa-search {
  padding: 0 10px;
  color: #999;
}

.searchbar input {
  border: none;
  outline: none;
  padding: 6px 10px 6px 0;
  font-size: 1.5rem;
  flex: 1;
  background: transparent;
}

.searchbar .search {
  padding: 6px 12px;
  background: #4ebf0c;
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s ease;
}

.searchbar .search:hover {
  background-color: #379607;
}

/* Icons */
.icons {
  position: relative;
  display: flex;
  align-items: center;
  gap: 20px;
}

.icons .fas {
  font-size: 1.8rem;
  border: 1px solid #4ebf0c;
  color: #4ebf0c;
  padding: 6px;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.icons .fas:hover {
  background-color: #379607;
  color: #fff;
}

.icon-badge {
  position: absolute;
  top: -6px;
  right: -6px;
  background: #e74c3c;
  color: white;
  border-radius: 50%;
  padding: 2px 6px;
  font-size: 12px;
  font-weight: bold;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  min-width: 18px;
  text-align: center;
}

/* If needed, adjust the position of the badges relative to the icons */
a[href="wishlist"] .icon-badge {
  top: -6px;
  right: 45px; /* Customize this for the wishlist icon */
}

a[href="cart"] .icon-badge {
  top: -6px;
  right: -10px; /* Customize this for the cart icon */
}

.userauth {
  display: flex;
  gap: 10px;
}

.userauth .log-in,
.userauth .sign-up {
  padding: 6px 12px;
  border-radius: 5px;
  font-weight: 500;
  cursor: pointer;
  font-size: 1.4rem;
  transition: all 0.3s ease;
  text-decoration: none;
}

.userauth .sign-up {
  background: transparent;
  color: #4ebf0c;
  border: 1px solid #4ebf0c;
}

.userauth .sign-up:hover {
  background-color: #4ebf0c;
  color: #fff;
}

.userauth .log-in {
  background: #4ebf0c;
  color: white;
  border: none;
}

.userauth .log-in:hover {
  background: #379607;
}

.mobile-searchbar,
.mobile-logo-icons-wrapper {
  display: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .userauth {
    display: none;
  }
  .header-container {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .header-container {
    display: none;
  }

  .mobile-searchbar,
  .mobile-logo-icons-wrapper {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
  }

  .logo {
    align-self: flex-start;
  }

  .icons {
    align-self: flex-end;
    order: 1;
  }

  .searchbar {
    width: 100%;
    margin-top: 10px;
    order: 2;
  }

  .main-nav {
    display: none;
  }

  .userauth {
    width: 100%;
    justify-content: space-between;
    order: 3;
  }
}

@media (min-width: 769px) {
  .header-container {
    flex-direction: row;
    gap: 20px;
  }

  .main-nav {
    display: flex;
  }
  
}

.slide-section {
  /* width: 90%; */
  margin: 40px auto;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  background: #fff;
}

.slides-container {
  position: relative;
  height: 400px;
}

.slide {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0;
  transition: all 0.6s ease-in-out;
  z-index: 1;
  border-radius: 15px;
}

.slide.active {
  left: 0;
  opacity: 1;
  z-index: 2;
}

.slide .image {
  flex: 1;
  height: 100%;
  overflow: hidden;
  border-radius: 15px;
}

.slide .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 15px;
}

.slide .content {
  flex: 1;
  height: 100%;
  padding: 20px;
  z-index: 3;
  background-color: #4ebf0c;
  color: #fff;
  border-radius: 120px 0 20px 120px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.slide .content span {
  font-size: 1.8rem;
  text-transform: uppercase;
}

.slide .content h3 {
  font-size: 3.6rem;
  margin: 10px 0;
}

.slide .btn {
  display: inline-block;
  padding: 10px 20px;
  background: #fff;
  color: #4ebf0c;
  border: none;
  border-radius: 5px;
  text-decoration: none;
}

/* Dots */
.slide-section .dots {
  text-align: center;
  padding: 15px 0;
  display: flex;
  justify-content: center;
  background: #fff;
}

.slide-section .dots li {
  width: 12px;
  height: 12px;
  background: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  transition: all 0.3s ease;
  cursor: pointer;
  list-style: none;
  display: inline-block;
  font-size: 0;
}

.slide-section .dots li.active {
  width: 30px;
  background: #4ebf0c;
  border-radius: 10px;
}

.slide-section .dots li:hover {
  background: #379607;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .slide {
    flex-direction: row;
    justify-content: space-between;
  }

  .slide .image {
    flex: 1;
    height: 100%;
    border-radius: 15px;
    max-width: 50%;
  }

  .slide .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 15px;
  }

  .slide .content {
    flex: 1;
    height: 100%;
    padding: 20px;
    z-index: 3;
    background-color: #4ebf0c;
    color: #fff;
    border-radius: 120px 0 20px 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    max-width: 50%;
  }

  .slide .content h3 {
    font-size: 2.4rem;
  }

  .slide .content span {
    font-size: 1.6rem;
  }

  .slide .btn {
    padding: 8px 16px;
    font-size: 1.4rem;
  }

  .slide-section .dots {
    padding: 10px 0;
  }

  .slide-section .dots li {
    width: 10px;
    height: 10px;
  }

  .slide-section .dots li.active {
    width: 25px;
  }
}

@media (max-width: 480px) {
  .slide .content h3 {
    font-size: 2rem;
  }

  .slide .content span {
    font-size: 1.4rem;
  }

  .slide .btn {
    padding: 6px 14px;
    font-size: 1.2rem;
  }
}

/* category Style */
.category {
  /* padding: 40px 0; */
  background-color: transparent;
}

.category .title {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 2.4rem;
  margin-bottom: 30px;
}

.category .title a {
  font-size: 18px;
  color: #4ebf0c;
  text-decoration: none;
}

.category .title span {
  color: #4ebf0c;
}

.box-container {
  display: flex;
  flex-wrap: nowrap;
  overflow-x: auto;
  gap: 10px;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 20px;
  scrollbar-width: none;
}

.box-container::-webkit-scrollbar {
  height: 0px;
  transition: height 0.3s ease;
}

.box-container:hover {
  scrollbar-width: thin;
}

.box-container:hover::-webkit-scrollbar {
  height: 6px;
}

.box-container:hover::-webkit-scrollbar-thumb {
  background: #4ebf0c;
  border-radius: 10px;
}

.box-container:hover::-webkit-scrollbar-track {
  background: #e0e0e0;
}

/* .box-container::-webkit-scrollbar {
  height: 6px;
} */

.box-container::-webkit-scrollbar-thumb {
  background: #4ebf0c;
  border-radius: 10px;
}

.box-container::-webkit-scrollbar-track {
  background: #e0e0e0;
}

/* Box Styling - Responsive */
.box-container a {
  text-decoration: none;
}

.box {
  width: calc(100% / 6 - 10px); /* 6 items per row minus gap */
  max-width: 120px;
  text-align: center;
  flex-shrink: 0;
  border-radius: 10px;
  padding: 10px 5px;
  transition: transform 0.3s ease, width 0.3s ease;
  scroll-snap-align: start;
}

.box:hover {
  transform: scale(1.05);
}

/* Icon Circle */
.box .icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.7;
}

.box .icon img {
  width: 40%;
  /* height: 30px; */
  object-fit: contain;
}

/* Text */
.box p {
  font-size: 1.1rem;
  color: #333;
  margin-top: 10px;
}

.vegetable-icon {
  background-color: rgba(241, 196, 15, 0.7);
}

.fruits-icon {
  background-color: rgba(231, 76, 60, 0.7);
}

.beverages-icon {
  background-color: rgba(52, 152, 219, 0.7);
}

.grains-icon {
  background-color: rgba(46, 204, 113, 0.7);
}

.oil-icon {
  background-color: rgba(155, 89, 182, 0.7);
}

.household-icon {
  background-color: rgba(22, 160, 133, 0.7);
}

@media (min-width: 768px) {
  .box {
    width: calc(100% / 5 - 10px);
    max-width: 150px;
  }

  .box .icon {
    width: 60px;
    height: 60px;
  }

  /* .box .icon img {
    width: 36px;
    height: 36px;
  } */

  .box p {
    font-size: 1.3rem;
  }
}

@media (min-width: 1024px) {
  .box {
    width: calc(100% / 4 - 10px);
    max-width: 180px;
  }

  .box .icon {
    width: 150px;
    height: 150px;
  }
  /* 
  .box .icon img {
    width: 80%;
    height: 40px;
  } */

  .box p {
    font-size: 1.4rem;
  }
}

.product-section-header {
  margin: 50px auto;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h2 {
  font-size: 2.4rem;
  color: #222;
}

.section-header .view-all {
  color: #4ebf0c;
  font-size: 1.6rem;
  text-decoration: none;
  font-weight: bold;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Default: 2 columns on mobile */
  gap: 20px;
}

@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr); /* 4 columns on tablet & desktop */
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.product-card {
  background: white;
  padding: 15px;
  /* border-radius: 10px; */
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: relative;
}

.product-image {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px;
}

.product-image img {
  width: 100%;
  border-radius: 8px;
}

.product-card .favorite {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 2rem;
  cursor: pointer;
  color: #ccc;
  border: none;
  background-color: #fff;
  transition: color 0.3s ease, transform 0.2s ease;
}

.product-card .favorite:hover {
  color: #ff4b5c;
  /* transform: scale(1.2); */
  animation: pulse 0.6s ease-out forwards;
}

/* Pulse effect */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5); /* Slightly enlarge the heart on hover */
  }
  100% {
    transform: scale(1);
  }
}

.product-card .favorite.active {
  color: #ff4b5c;
}

.product-card .favorite.active:hover {
  color: #e60000;
  /* transform: scale(1.2); */
  animation: pulse 0.6s ease-out forwards;
}

/* Pulse effect */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.5); /* Slightly enlarge the heart on hover */
  }
  100% {
    transform: scale(1);
  }
}

.product-card .discount,
.product-card .new {
  position: absolute;
  top: 10px;
  left: 10px;
  font-size: 1.2rem;
  color: white;
  background: red;
  padding: 3px 6px;
  border-radius: 5px;
  z-index: 99;
}

.product-card .new {
  background: orange;
}

.product-name {
  font-size: 1.5rem;
  color: #333;
  margin: 10px 0;
}

.remaining {
  font-size: 1.2rem;
}

.product-card .red,
.product-info .red {
  color: red;
}

.product-card .green,
.product-info .green {
  color: green;
}

.price-section {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  padding-top: 5px;
  border-top: 1px solid #eee;
}

.price-section .price {
  font-size: 1.5rem;
  font-weight: bold;
  color: green;
}

.price-section .add-btn {
  background: green;
  color: white;
  font-size: 1.8rem;
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  cursor: pointer;
}

.price-section .add-btn:hover {
  background: #f1f1f1;
  color: #4ebf0c;
}

@media (min-width: 1200px) {
  .product-grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Footer Banner */

.banner-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 40px auto;
  padding: 0 20px;
}

.banner-container .banner {
  position: relative;
  height: 25rem;
  overflow: hidden;
  border-radius: 8px;
}

.banner-container .banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.banner-container .banner:hover img {
  transform: scale(1.1);
}

.banner-container .banner .content {
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.85);
  padding: 1rem 1.5rem;
  border-radius: 5px;
  max-width: 90%;
}

.banner-container .banner .content span {
  color: #666;
  font-size: 1.4rem;
  display: block;
  margin-bottom: 0.3rem;
}

.banner-container .banner .content h3 {
  font-size: 1.8rem;
  color: #222;
  margin-bottom: 1rem;
}

.banner-container .banner .content .btn {
  padding: 0.8rem 2rem;
  background: #4ebf0c;
  color: #fff;
  font-size: 1.3rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-decoration: none;
  transition: background 0.3s ease;
}

.banner-container .banner .content .btn:hover {
  background: #222;
}

/* Small screen tweak */
@media (max-width: 480px) {
  .banner-container {
    grid-template-columns: 1fr 1fr;
  }

  @media (max-width: 360px) {
    .banner-container {
      grid-template-columns: 1fr;
    }
  }

  .banner-container .banner {
    height: 20rem;
  }

  .banner-container .banner .content h3 {
    font-size: 1.6rem;
  }

  .banner-container .banner .content span,
  .banner-container .banner .content .btn {
    font-size: 1.2rem;
  }
}

/* Footer Section */

.footer {
  background-color: #0f3e1e;
  color: #ffffff;
  padding: 40px 20px 20px;
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  max-width: 1200px;
  margin: auto;
}

/* .footer-box {
  min-width: 220px;
} */

.footer-box h4 {
  font-size: 1.5rem;
  margin-bottom: 16px;
  color: #ffffff;
  border-left: 4px solid #4ebf0c;
  padding-left: 10px;
}

.footer-box a {
  display: block;
  color: #e0e0e0;
  font-size: 1.3rem;
  text-decoration: none;
  margin-bottom: 12px;
  transition: 0.2s ease;
}

.footer-box a i {
  margin-right: 8px;
  color: #4ebf0c;
}

.footer-box a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-box p {
  font-size: 1.2rem;
  color: #d0d0d0;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
}

.newsletter-form input[type="email"] {
  padding: 12px;
  border: none;
  border-radius: 6px;
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.newsletter-form button {
  background: #4ebf0c;
  border: none;
  padding: 12px;
  color: white;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1.3rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.newsletter-form button:hover {
  background: #379607;
}

.payment-methods {
  margin-top: 16px;
  width: 100%;
  max-width: 180px;
}

.credit {
  background-color: #0d2d17;
  text-align: center;
  color: #ccc;
  padding: 14px;
  font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
  .footer-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-box h4 {
    font-size: 1.5rem;
  }

  .footer-box a,
  .footer-box p,
  .newsletter-form input,
  .newsletter-form button {
    font-size: 1.2rem;
  }

  /* .footer-box p, .payment-methods{
    width: 55%;
  } */

  .newsletter-form {
    flex-direction: column;
  }

  .newsletter-form input[type="email"],
  .newsletter-form button {
    width: 100%;
  }
}

/* Registration Page Style */

.sigup-container {
  display: flex;
  min-height: 100vh;
  flex-wrap: wrap;
}

.sigup-container .left-side.slideshow {
  flex: 2;
  position: relative;
  overflow: hidden;
  min-height: 100vh;
}

.sigup-container .left-side.slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.sigup-container .left-side.slideshow .slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sigup-container .left-side.slideshow .slide.active {
  opacity: 1;
  z-index: 1;
}

.sigup-container .left-side.slideshow .slide .welcome-text {
  position: absolute;
  bottom: 10%;
  left: 10%;
  color: white;
  max-width: 80%;
  z-index: 2;
}

.sigup-container .left-side.slideshow .slide .welcome-text h1 {
  font-size: 4rem;
  margin-bottom: 10px;
}

.sigup-container .left-side.slideshow .slide .welcome-text p {
  font-size: 2rem;
  line-height: 1.5;
}

.sigup-container .left-side.slideshow .slide .welcome-text {
  position: absolute;
  top: 50%;
  left: 10%;
  transform: translateY(-50%);
  color: white;
  max-width: 80%;
}

.sigup-container .slideshow .dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  list-style: none;
  z-index: 3;
  padding: 0;
  margin: 0;
}

.sigup-container .slideshow .dots li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: all 0.3s ease;
}

.sigup-container .slideshow .dots li.active {
  width: 30px;
  background: #4ebf0c;
  border-radius: 10px;
}

.sigup-container .right-side {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.sigup-container .right-side .logo {
  width: 140px;
  margin-bottom: 20px;
}

.sigup-container .right-side .tabs {
  display: flex;
  margin-bottom: 30px;
}

.sigup-container .right-side .tabs .tab {
  flex: 1;
  padding: 12px;
  font-size: 1.5rem;
  border: none;
  cursor: pointer;
  background: #f3f3f3;
  color: #444;
  border-radius: 8px 8px 0 0;
  transition: background 0.3s;
}

.sigup-container .right-side .tabs .tab.active {
  background: #4ebf0c;
  color: white;
}

.sigup-container .right-side .form-container .form {
  display: none;
}

.sigup-container .right-side .form-container .form.active {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sigup-container .right-side .form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.sigup-container .right-side .form-container .form label {
  font-size: 1.4rem;
}

.sigup-container .right-side .form-container .form input[type="text"],
.sigup-container .right-side .form-container .form input[type="email"],
.sigup-container .right-side .form-container .form input[type="password"],
.sigup-container .right-side .form-container .form input[type="tel"] {
  width: 100%;
  padding: 12px;
  font-size: 1.3rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.sigup-container .right-side .form-container .form .name-container {
  display: flex;
  gap: 20px;
  width: 100%;
}

.sigup-container .right-side .form-container .form .name-container label {
  width: 100%;
}

.sigup-container
  .right-side
  .form-container
  .form
  .name-container
  input[type="text"] {
  flex: 1;
  padding: 12px;
  font-size: 1.3rem;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.sigup-container .right-side .form-container .form .forgot-password {
  text-align: right;
  margin-top: -12px;
  margin-bottom: 10px;
}

.sigup-container .right-side .form-container .form .forgot-password a {
  color: #4ebf0c;
  text-decoration: none;
  font-size: 1.3rem;
}

.sigup-container .right-side .form-container .form .forgot-password a:hover {
  text-decoration: underline;
}

.sigup-container .right-side .form-container .form .phone-input {
  display: flex;
  align-items: center;
}

.sigup-container .right-side .form-container .form .phone-input .prefix {
  padding: 12px;
  background: #f5f5f5;
  border: 1px solid #ddd;
  border-right: none;
  border-radius: 6px 0 0 6px;
}

.sigup-container .right-side .form-container .form .phone-input input {
  flex: 1;
  border-radius: 0 6px 6px 0;
  border-left: none;
}

.sigup-container .right-side .form-container .form .checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 1.3rem;
  line-height: 1.4;
}

.sigup-container .right-side .form-container .form .checkbox a {
  color: #4ebf0c;
  text-decoration: none;
}

.sigup-container .right-side .form-container .form .create-btn {
  background: #4ebf0c;
  color: white;
  font-size: 1.4rem;
  padding: 14px;
  border: none;
  border-radius: 8px;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.3s;
}

.sigup-container .right-side .form-container .form .create-btn:hover {
  background: #379607;
}

.sigup-container .right-side .form-container .form .social-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin: 20px 0;
}

.sigup-container .right-side .form-container .form .social-buttons .social {
  flex: 1;
  border: 2px solid #4ebf0c;
  padding: 12px 0;
  font-size: 1.6rem;
  border-radius: 8px;
  background: white;
  cursor: pointer;
  transition: background 0.3s;
}

.sigup-container
  .right-side
  .form-container
  .form
  .social-buttons
  .social:hover {
  background: #f6f6f6;
}

.sigup-container
  .right-side
  .form-container
  .form
  .social-buttons
  .social.google
  i {
  color: #db4437;
}

.sigup-container
  .right-side
  .form-container
  .form
  .social-buttons
  .social.apple
  i {
  color: #000;
}

.sigup-container .right-side .form-container .form .login-text {
  text-align: center;
  font-size: 1.2rem;
  color: #444;
}

.sigup-container .right-side .form-container .form .login-text a {
  color: #4ebf0c;
  text-decoration: none;
  font-weight: bold;
}

/* Responsive */
@media (max-width: 768px) {
  .sigup-container {
    flex-direction: column;
  }

  .sigup-container .left-side {
    height: 300px;
    background-position: top;
  }

  .sigup-container .left-side .slide .welcome-text {
    display: none;
  }

  .sigup-container .right-side {
    background-color: #fff;
    margin: -300px 10px 0 10px;
    padding: 20px;
    z-index: 999;
    border-radius: 20px;
  }
}

/* Verification Page Style */

.verify-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  padding: 40px 20px;
  max-width: 700px;
  margin: 40px auto;
}

.verify-box {
  width: 100%;
  background: #fff;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  text-align: center;
}

.verify-box h4 {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: #333;
}

.verify-box p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: #555;
}

.input-field {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 20px;
}

.input-field input {
  width: 45px;
  height: 50px;
  text-align: center;
  font-size: 1.2rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.input-field input:focus {
  outline: none;
  border-color: #4ebf0c;
}

/* Hide number arrows */
input::-webkit-inner-spin-button,
input::-webkit-outer-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"] {
  -moz-appearance: textfield;
}

.verify-btn {
  width: 100%;
  padding: 12px;
  background-color: #ccc;
  color: #666;
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  cursor: not-allowed;
  transition: all 0.3s ease;
}

.verify-btn.active {
  background-color: #4ebf0c;
  color: #fff;
  cursor: pointer;
}

.resend-btn {
  margin-top: 10px;
  background: #000;
  color: #fff;
  padding: 10px 20px;
  border-radius: 6px;
  border: none;
  display: none;
}

.countdown-text {
  font-size: 0.9rem;
  color: #333;
}

@media (max-width: 768px) {
  .verify-container {
    flex-direction: column;
    align-items: center;
  }
}

/* Cart STYLE */

.cart-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60vh;
  padding: 50px 20px;
  background-color: #f4f5f9;
  box-sizing: border-box;
}

.cart-box {
  width: 100%;
  max-width: 700px;
  text-align: center;
  background-color: white;
  padding: 60px 20px;
  border-radius: 16px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
  margin: 0 auto;
}

.cart-icon img {
  width: 60px;
  opacity: 0.5;
  margin-bottom: 20px;
}

.cart-box h2 {
  color: #444;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.cart-box p {
  color: #777;
  font-size: 1.3rem;
  margin-bottom: 30px;
}

.cart-box .add-btn {
  background-color: #4ebf0c;
  color: white;
  padding: 12px 28px;
  font-size: 1.3rem;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s ease;
  text-decoration: none;
}

.cart-box .add-btn:hover {
  background-color: #379607;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  .cart-box {
    width: 90%;
    padding: 30px 20px;
  }

  .cart-box h2 {
    font-size: 1.25rem;
  }

  .cart-box p {
    font-size: 0.95rem;
  }

  .cart-box .add-btn {
    width: 100%;
    padding: 12px;
    font-size: 1rem;
  }
}

.cart-items-section {
  background: #f4f5f9;
  padding: 50px 20px;
}

.cart-item-container {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

/* Left Side: Order Summary */
.order-summary {
  flex: 2;
}

.order-summary h3 {
  margin-bottom: 20px;
  color: #555;
}

.cart-item {
  background: white;
  border-radius: 14px;
  display: flex;
  align-items: center;
  padding: 20px;
  margin-bottom: 20px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.cart-item img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  margin-right: 16px;
}

/* Remove Button Styling */
.remove-btn {
  background-color: #e74c3c; /* Strong red color */
  color: white;
  border: none;
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  margin-top: 10px;
  display: inline-block;
}

.remove-btn:hover {
  background-color: #c0392b; /* Darker red on hover */
}

.remove-btn:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.5); /* subtle red focus ring */
}

.item-details {
  flex: 1;
}

.item-details a {
  margin: 0;
  font-size: 1.3rem;
  color: #222;
  text-decoration: none;
}

.item-details a:hover {
  color: #16a34a;
}

.item-details p {
  margin: 4px 0;
  color: #666;
  font-size: 1.3rem;
}

.delivery-tag {
  font-size: 1.2rem;
  color: #4ebf0c;
  font-weight: 500;
}

.quantity-control {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-control button {
  background: #f1f2f4;
  border: none;
  padding: 8px 12px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Summary */
.cart-summary {
  background: white;
  border-radius: 14px;
  padding: 30px;
  margin-top: 30px;
  font-size: 1.5rem;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  color: #444;
  font-size: 1.4rem;
}

.summary-line.total {
  font-weight: 600;
  font-size: 1.4rem;
}

.checkout-btn {
  width: 100%;
  padding: 14px;
  background: #4ebf0c;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.5rem;
  cursor: pointer;
  margin-top: 20px;
  text-decoration: none;
}

.checkout-btn:hover {
  background: #379607;
}

/* Right Side: Delivery Details */
.delivery-details {
  flex: 1;
  background: white;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.delivery-details h4 {
  margin-bottom: 10px;
  color: #333;
}

.delivery-details p {
  margin: 8px 0;
  color: #555;
  font-size: 1.4rem;
}

.delivery-type {
  font-weight: 600;
}

.delivery-time {
  font-size: 1.2rem;
  color: #777;
}

.map-btn,
.address-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: 2px solid #4ebf0c;
  border-radius: 8px;
  background: white;
  color: #4ebf0c;
  font-size: 1.5rem;
  font-weight: 500;
  margin-top: 15px;
  cursor: pointer;
  transition: 0.3s ease;
  text-decoration: none;
  text-align: center;
}

.address-btn {
  background: #4ebf0c;
  color: white;
  border: none;
}

.map-btn:hover {
  background: #f0fff0;
}

.address-btn:hover {
  background: #379607;
}

.order-summary h3,
.delivery-details h4 {
  font-size: 1.6rem;
  font-weight: 700;
  color: #222;
}

.cart-item h4 {
  font-size: 1.2rem;
  font-weight: 600;
}

.quantity-control span {
  font-size: 1.3rem;
  font-weight: 500;
}

.total strong {
  font-size: 1.3rem;
}

.default-address {
  background-color: #f0fff5;
  padding: 16px;
  border-left: 4px solid #4ebf0c;
  border-radius: 8px;
  margin: 16px 0;
}

.default-address h6 {
  margin: 0 0 6px 0;
  font-size: 1rem;
  color: #4ebf0c;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-item-container {
    flex-direction: column;
  }

  .quantity-control button {
    padding: 8px;
  }
}

/* Product Page Style */

.section-wall {
  background: #f7f9fc;
}

.product-page-container {
  display: flex;
  gap: 30px;
  padding: 40px 60px;
  max-width: 1300px;
  margin: auto;
  flex-wrap: wrap;
}

.product-section {
  flex: 1 1 67%;
  background: white;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.recommendation-box {
  flex: 1 1 30%;
  background: #fff;
  border-radius: 14px;
  padding: 30px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.06);
}

.product-slide-box {
  text-align: center;
  position: relative;
}

.product-slide-container {
  position: relative;
  width: 100%;
  max-width: 280px;
  margin: auto;
}

.product-slide {
  display: none;
  transition: opacity 0.5s ease;
}

.product-slide.active {
  display: block;
  animation: fadeIn 0.6s ease-in-out;
}

.product-slide img {
  width: 100%;
  border-radius: 8px;
}

@keyframes fadeIn {
  from {
    opacity: 0.3;
  }
  to {
    opacity: 1;
  }
}

.slide-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
  z-index: 2;
}

.slide-dots li {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.6);
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.3s ease;
}

.slide-dots li.active {
  width: 20px;
  background: #4ebf0c;
  border-radius: 10px;
}

.product-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 25px 0 10px;
}

.product-info .info-left .price {
  color: #4ebf0c;
  font-weight: 600;
  margin-bottom: 5px;
  font-size: 1.5rem;
}
.product-info .info-left .name {
  font-weight: 600;
  font-size: 2rem;
  margin: 0;
}
.product-info .info-left .weight {
  color: #999;
  font-size: 1.3rem;
}

.product-info .info-right .icon-btn {
  background: none;
  border: 1px solid #ddd;
  padding: 10px;
  border-radius: 8px;
  font-size: 16px;
  margin-left: 10px;
  cursor: pointer;
  color: #666;
}

.product-info .info-right .icon-btn:hover {
  color: #4ebf0c;
}

.product-info .info-right .icon-btn.active {
  color: #4ebf0c;
}

.product-info .info-right .icon-btn.active:hover {
  color: #4ebf0c;
  transform: scale(1.2);
}

.product-desc {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}

.product-actions {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
}

.product-actions .left-side {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.product-actions .left-side label {
  font-size: 1.2rem;
  font-weight: 800;
}

.product-actions .left-side .quantity,
.product-actions .left-side .price {
  display: flex;
  align-items: center;
  gap: 10px;
}

.product-actions .left-side .quantity .qty-btn {
  padding: 4px 10px;
  border: 1px solid #4ebf0c;
  background: #fff;
  cursor: pointer;
  font-weight: bold;
  color: #4ebf0c;
}

.product-actions .left-side .quantity .qty-value {
  font-weight: 600;
  min-width: 20px;
  text-align: center;
}

.product-actions .left-side .price .price-value {
  font-weight: bold;
  color: #4ebf0c;
  font-size: 16px;
}

.product-actions .right-side .add-to-cart {
  background: #4ebf0c;
  border: none;
  color: #fff;
  padding: 10px 45px;
  font-weight: 500;
  border-radius: 6px;
  cursor: pointer;
  flex-shrink: 0;
}

.recommendation-box-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #eee;
  margin-bottom: 20px;
}

.recommendation-box-header h4 {
  font-size: 1.5rem;
}

.recommendation-box-header .badge {
  color: #4ebf0c;
  font-size: 1.3rem;
  font-weight: 500;
}

.recommendation-box .also-buy-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recommendation-box .also-buy-list .also-buy-item {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: #f9f9f9;
  padding: 10px;
  border-radius: 10px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.recommendation-box .also-buy-list .also-buy-item img {
  width: 100px;
  height: 100px;
  border-radius: 8px;
  object-fit: cover;
}

.recommendation-box .also-buy-list .also-buy-item .item-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.recommendation-box .also-buy-list .also-buy-item .item-info a{
  text-decoration:none;
  color: #1d1d1d;
}

.recommendation-box .also-buy-list .also-buy-item .item-info .item-name {
  font-size: 1.3rem;
  font-weight: 600;
}

.recommendation-box .also-buy-list .also-buy-item .item-info .item-price {
  color: #4ebf0c;
  font-weight: bold;
  font-size: 1.3rem;
}

.recommendation-box .also-buy-list .also-buy-item .item-info .mini-cart-btn {
  background: #4ebf0c;
  color: white;
  padding: 6px 14px;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
  margin-top: 5px;
}

.recommendation-box .also-buy-list .also-buy-item .item-info .disabled-add {
  background: #aaa !important;
}

@media screen and (max-width: 768px) {
  .product-page-container {
    flex-direction: column;
    padding: 40px 20px;
  }

  .product-actions .right-side .add-to-cart {
    width: 100%;
  }
}

/* Categories Page Style */

.category-section {
  max-width: 100%;
  background: #f2f4f8;
  padding: 40px 100px;
}

.category-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
}

.back-btn {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 1.5rem;
  text-decoration: none;
  color: #4ebf0c;
}

.category-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.category-box {
  background: #ffffff;
  border-radius: 18px;
  padding: 30px;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.03);
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
  gap: 20px;
}

.category-item {
  border-radius: 16px;
  padding: 10px 5px;
  text-align: center;
  transition: transform 0.2s ease;
  text-decoration: none;
}

.category-item:hover {
  transform: translateY(-3px);
}

.icon-circle {
  width: 100px;
  height: 100px;
  margin: 0 auto 10px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-circle img {
  width: 40px;
  height: 40px;
}

.category-item p {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 500;
  color: #444;
}

/* Circle background colors */
/* .vegetables .icon-circle { background-color: #d6f5dc; }
.fruits .icon-circle { background-color: #ffe5e5; }
.beverages .icon-circle { background-color: #fff6dc; }
.grocery .icon-circle { background-color: #f3e8ff; }
.edible .icon-circle { background-color: #dcf8f4; }
.household .icon-circle { background-color: #ffe5f3; }
.babycare .icon-circle { background-color: #e3f3ff; } */

/* Tablet view */
@media (max-width: 992px) {
  .category-section {
    padding: 30px 40px;
  }

  .category-header h2,
  .category-header button {
    font-size: 1.3rem;
  }

  .category-box {
    padding: 25px;
  }

  .category-grid {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 18px;
  }

  .icon-circle {
    width: 80px;
    height: 80px;
  }

  .icon-circle img {
    width: 32px;
    height: 32px;
  }

  .category-item p {
    font-size: 1.3rem;
  }
}

@media (max-width: 600px) {
  .category-section {
    padding: 20px 16px;
  }

  .category-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .category-header h2,
  .category-header button {
    font-size: 1.2rem;
  }

  .category-box {
    padding: 20px;
  }

  .category-grid {
    grid-template-columns: repeat(3, 1fr); /* changed from 2 to 3 */
    gap: 16px;
  }

  .icon-circle {
    width: 70px;
    height: 70px;
  }

  .icon-circle img {
    width: 28px;
    height: 28px;
  }

  .category-item p {
    font-size: 1rem;
  }
}

/* Address Page Style */

/* No Address Style */

.no-address-wrapper {
  background: #f2f4f8;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 10px;
  min-height: 70vh;
}

.no-address-container {
  background: white;
  border-radius: 16px;
  padding: 50px 20px;
  text-align: center;
  width: 80%;
  max-width: 1000px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.no-address-icon {
  width: 70px;
  height: 70px;
  opacity: 0.5;
  margin-bottom: 16px;
}

.no-address-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #444;
  margin-bottom: 8px;
}

.no-address-subtext {
  font-size: 1.3rem;
  color: #777;
  margin-bottom: 30px;
  line-height: 1.5;
}

.btn-outline,
.btn-filled {
  display: block;
  width: 240px;
  margin: 10px auto;
  padding: 5px;
  border-radius: 8px;
  font-size: 1.3rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  margin: 10px;
}

.btn-outline {
  background: transparent;
  border: 2px solid #4ebf0c;
  color: #4ebf0c;
}

.btn-outline:hover {
  background: #eaffea;
}

.btn-filled {
  background: #4ebf0c;
  color: white;
  border: none;
}

.btn-filled:hover {
  background: #379607;
}

/* Responsive adjustment */
@media (max-width: 600px) {
  .no-address-container {
    width: 95%;
    padding: 25px 15px;
  }

  .btn-outline,
  .btn-filled {
    width: 100%;
    max-width: 300px;
  }
}

/* Address List Style */

.address-wrapper {
  background: #f5f7fa;
  padding: 10rem 2rem;
  font-family: "Segoe UI", sans-serif;
}

.address-header {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.address-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.address-list {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: auto;
}

.address-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 16px;
  position: relative;
}

.address-icon {
  width: 40px;
  height: 40px;
  background: #4ebf0c;
  color: white;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.4rem;
}

.address-text {
  flex-grow: 1;
}

.address-text h4 {
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
}

.address-text p {
  margin: 4px 0 0;
  font-size: 1.2rem;
  color: #444;
  line-height: 1.4;
}

.delete-icon {
  color: red;
  cursor: pointer;
  font-size: 1.4rem;
}

.address-buttons {
  max-width: 800px;
  margin: 2rem auto 0;
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.google-map-btn,
.add-address-btn {
  border: 2px solid #4ebf0c;
  background: white;
  color: #4ebf0c;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 1.3rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.google-map-btn i,
.add-address-btn i {
  margin-right: 8px;
}

.add-address-btn {
  background: #4ebf0c;
  color: white;
  text-decoration: none;
}

.google-map-btn:hover {
  background: #e6fbe7;
}

.add-address-btn:hover {
  background: #16a34a;
}

.address-card.selected {
  border: 2px solid #4ebf0c;
  box-shadow: 0 0 0 4px rgba(78, 191, 12, 0.1);
}

.default-label {
  background-color: #4ebf0c;
  color: white;
  font-size: 1.2rem;
  padding: 4px 8px;
  border-radius: 6px;
  position: absolute;
  top: 12px;
  right: 50px;
}

.make-default-btn {
  position: absolute;
  right: 50px;
  top: 12px;
  background: transparent;
  border: 1px solid #4ebf0c;
  color: #4ebf0c;
  font-size: 1.2rem;
  padding: 4px 10px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.make-default-btn:hover {
  background: #e6fbe7;
}

.address-card.selected .make-default-btn {
  display: none;
}

.address-card.selected .default-label {
  display: inline-block;
}

/* Responsive */
@media (max-width: 768px) {
  .address-buttons {
    flex-direction: column;
    gap: 10px;
  }

  .google-map-btn,
  .add-address-btn {
    width: 100%;
    text-align: center;
  }
}

/* Add Address Page Style */

.address-form-wrapper {
  padding: 40px 20px;
  background-color: #f2f4f8;
}

.address-header {
  max-width: 800px;
  margin: 0 auto 20px auto;
  display: flex;
  align-items: center;
  gap: 12px;
}

.address-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.address-form-container {
  background: #fff;
  padding: 40px;
  border-radius: 16px;
  max-width: 800px;
  margin: auto;
}

.address-form {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.form-left,
.form-right {
  flex: 1;
  min-width: 280px;
}

.address-form label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 1.5rem;
  color: #222;
}

.address-form input,
.address-form select {
  width: 100%;
  padding: 14px;
  margin-bottom: 20px;
  border: none;
  border-radius: 8px;
  background-color: #f2f4f8;
  font-size: 1.2rem;
}

.address-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolygon fill='%23666' points='70,100 30,60 110,60'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 12px;
}

.submit-btn-wrapper {
  width: 100%;
  margin-top: 10px;
}

.submit-btn-wrapper button {
  background-color: #4ebf0c;
  color: white;
  padding: 14px 30px;
  border: none;
  border-radius: 6px;
  font-size: 1.3rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.submit-btn-wrapper button:hover {
  background-color: #379607;
}

@media (max-width: 768px) {
  .address-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-left,
  .form-right {
    width: 100%;
  }
}

/* No Order Page Style */

.empty-order-wrapper {
  background-color: #f6f7fb;
  min-height: 60vh;
  padding: 50px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.empty-order-box {
  background-color: #fff;
  max-width: 700px;
  width: 100%;
  padding: 60px 20px;
  border-radius: 12px;
  text-align: center;
}

.empty-order-box .empty-icon {
  width: 60px;
  margin-bottom: 20px;
}

.empty-order-box h2 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #333;
}

.empty-order-box p {
  font-size: 14px;
  color: #555;
  margin-bottom: 30px;
}

.start-shopping-btn {
  background-color: #4ebf0c;
  color: #fff;
  border: none;
  padding: 12px 30px;
  font-size: 14px;
  border-radius: 6px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
}

.start-shopping-btn:hover {
  background-color: #3da308;
}

/* Orders Page Style */

.orders-wrapper {
  padding: 40px 20px;
  background: #f8f9fc;
}

.orders-wall {
  margin: 40px auto;
  width: 100%;
  max-width: 1000px;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 20px;
  box-sizing: border-box;
}

.orders-header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.orders-header .back-btn {
  background: #ffffff;
  border: none;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  padding: 10px 14px;
  cursor: pointer;
  font-size: 1.5rem;
  text-decoration: none;
  color: #4ebf0c;
}

.orders-header h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.order-card {
  background: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  margin-bottom: 16px;
  border: 2px solid #eee;
  /* border-radius: 12px; */
  flex-wrap: wrap;
}

.order-left {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex: 1;
}

.order-icon img {
  width: 45px;
  height: 45px;
}

.order-details h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 600;
}

.order-details p {
  margin: 4px 0;
  font-size: 14px;
  color: #333;
}

.status {
  padding: 3px 10px;
  font-size: 1.3rem;
  font-weight: 600;
  border-radius: 12px;
  display: inline-block;
  white-space: nowrap;
}

.status.processing {
  background: #e8f5e9;
  color: #7db680;
}

.status.received{
  background: #e8f5e9;
  color: #2e7d32;
}

.status.canceled {
  background: #fdecea;
  color: #c62828;
}

.status.pending {
  background: #fff8e1;
  color: #f9a825;
}

.status.delivered {
  background: #e0f7fa;
  color: #00796b;
}

.order-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  width: 30px;
  height: 100%;
}

.order-right .arrow {
  font-size: 26px;
  color: #888;
}

@media screen and (max-width: 768px) {
  .order-card {
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }

  .order-left {
    flex-direction: row;
    align-items: flex-start;
    flex: 1;
  }

  .order-right {
    align-items: flex-start;
    justify-content: flex-end;
    width: auto;
    margin-left: auto;
  }

  .order-details h3 {
    font-size: 15px;
  }

  .order-details p {
    font-size: 13px;
  }

  .order-icon img {
    width: 40px;
    height: 40px;
  }

  .orders-header h2 {
    font-size: 18px;
  }

  .order-right .arrow {
    font-size: 22px;
  }
}

/* Account Page Style */

.account-wrapper {
  max-width: 100%;
  padding: 20px;
  background-color: #f5f7fa;
}

.account-header {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  max-width: 600px;
  margin: 20px auto;
}

.account-header h2 {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.back-button {
  border: none;
  background: #fff;
  border-radius: 10px;
  padding: 6px 12px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.account-card {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 30px 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}

.profile-section {
  text-align: center;
  margin-bottom: 30px;
}

.avatar-wrapper {
  position: relative;
  display: inline-block;
}

.avatar {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
}

.camera-icon {
  position: absolute;
  bottom: 6px;
  right: 6px;
  background: #4ebf0c;
  color: white;
  font-size: 1.3rem;
  padding: 6px;
  border-radius: 50%;
  border: 2px solid white;
  cursor: pointer;
}

.username {
  margin-top: 10px;
  font-size: 1.5rem;
  font-weight: 600;
}

.user-email {
  font-size: 1.3rem;
  color: #777;
  margin-top: 5px;
}

.account-options {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 20px;
}

.account-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 1.4rem;
  color: #333;
  padding: 12px 0;
  border-bottom: 1px solid #eee;
  cursor: pointer;
  transition: background 0.2s ease;
  text-decoration: none;
}

.account-item:hover {
  background-color: #f0f0f0;
  border-radius: 8px;
  /* padding: 0 10px; */
}

.account-item i {
  color: #4b5563;
}

.account-item span {
  flex-grow: 1;
  margin-left: 12px;
}

.account-item.logout {
  color: #e11d48;
  font-weight: 600;
  border-bottom: none;
}

/* Responsive Layout */
@media (max-width: 768px) {
  .account-header,
  .account-card {
    width: 100%;
  }

  .account-header h2 {
    font-size: 1.5rem;
  }

  .username {
    font-size: 1.3rem;
  }

  .user-email,
  .account-item {
    font-size: 1.3rem;
  }

  .camera-icon {
    font-size: 1.3rem;
  }
}

@media (max-width: 480px) {
  .avatar {
    width: 80px;
    height: 80px;
  }

  .account-header h2 {
    font-size: 1.3rem;
  }

  .camera-icon {
    font-size: 0.9rem;
    padding: 4px;
  }

  .username {
    font-size: 1.2rem;
  }

  .user-email,
  .account-item {
    font-size: 1.2rem;
  }
}

/* MoneyPot Page Style */

.moneypot-wrapper {
  max-width: 100%;
  padding: 20px;
  background-color: #f5f7fa;
}

.money-pot-section {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: #fff;
  border-radius: 12px;
}

.header-row {
  max-width: 800px;
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
}

.balance-box {
  background-color: #4ebf0c;
  color: #fff;
  padding: 2rem;
  border-radius: 12px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

.balance-info h3 {
  margin: 0.5rem 0;
  font-size: 2rem;
}

.balance-info span,
.balance-info p {
  font-size: 1.2rem;
}

.add-money-btn {
  background: #fff;
  color: #4ebf0c;
  padding: 10px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  border: none;
}

.transaction-title {
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 1.5rem;
}

.transaction-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.transaction-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.transaction-item .left {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.icon.green {
  background: #e8f5e9;
  color: #2e7d32;
}

.icon.red {
  background: #fdecea;
  color: #c62828;
}

.transaction-item .text strong {
  display: block;
  font-size: 1.3rem;
}

.transaction-item .text small {
  color: #666;
  font-size: 1rem;
}

.transaction-item .right {
  text-align: right;
  font-size: 1.3rem;
}

.amount.green {
  color: #2e7d32;
}

.amount.red {
  color: #c62828;
}

.right .status {
  display: inline-block;
  margin-top: 4px;
  padding: 2px 8px;
  font-size: 0.9rem;
  border-radius: 6px;
}

.right .status.success {
  background: #e8f5e9;
  color: #2e7d32;
}

.right .status.failed {
  background: #fdecea;
  color: #c62828;
}

.right .status.pending {
  background: #fff3cd;
  color: #856404;
}

@media (max-width: 600px) {
  .transaction-item {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
  }

  .transaction-item .left,
  .transaction-item .right {
    flex: 1;
  }

  .transaction-item .right {
    text-align: right;
  }

  .balance-box {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* Empty Wishlist Page Style */

.wishlist-container {
  background-color: #f5f7fa;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  padding: 40px 100px;
}

.wish-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.back-btn:hover {
  background-color: #eeeeee;
}

.wish-header-row h2 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 600;
}

.wishlist-content {
  background-color: #ffffff;
  flex: 1;
  padding: 4rem 2rem;
  border-radius: 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.wishlist-icon {
  font-size: 5rem;
  color: #9e9e9e;
  margin-bottom: 1.5rem;
}

.wishlist-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #4a4a4a;
  margin-bottom: 0.8rem;
}

.wishlist-content p {
  font-size: 1.2rem;
  color: #757575;
  margin-bottom: 2.5rem;
  line-height: 1.5;
}

.wishlist-btn {
  background-color: #4ebf0c;
  color: #fff;
  border: none;
  padding: 14px 32px;
  font-size: 1.3rem;
  font-weight: 500;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.wishlist-btn:hover {
  background-color: #40a509;
}

/* Responsive */
@media (max-width: 600px) {
  .wishlist-container {
    padding: 30px 40px;
  }

  .wishlist-content {
    padding: 3rem 1.5rem;
  }

  /* .wishlist-content h2 {
    font-size: 1.3rem;
  }

  .wishlist-content p {
    font-size: 0.95rem;
  } */

  .wishlist-btn {
    width: 100%;
    padding: 12px;
  }
}

/* Wishlist Page Style */

.wishlist-wrapper {
  max-width: 100%;
  padding: 20px;
  background-color: #f5f7fa;
  min-height: 100vh;
}

.wishlist-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem auto;
  max-width: 800px;
}

.wishlist-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.wishlist-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 800px;
  margin: auto;
  background: #fff;
  padding: 40px;
  border-radius: 12px;
}

.wishlist-card {
  background: #fff;
  border: 1px solid #eee;
  padding: 1rem;
  display: flex;
  align-items: center;
  gap: 1rem;
}

.wishlist-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

/* Wraps info + heart to stay right */
.wishlist-details {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.wishlist-info h3 a{
  margin: 0;
  font-size: 1.3rem;
  font-weight: 600;
  text-decoration: none;
  color: #222;
}

.wishlist-info h3 a:hover{
  color: #16a34a;
}

.wishlist-info p {
  font-size: 1.2rem;
  margin-top: 4px;
  color: #000;
}

.wishlist-heart {
  font-size: 2rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.wishlist-heart.green {
  color: #4ebf0c;
}

.wishlist-heart.gray {
  color: #ccc;
}

/* Responsive */
@media (max-width: 600px) {
  .wishlist-card {
    flex-direction: row;
    align-items: flex-start;
  }

  .wishlist-details {
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 0.5rem;
  }

  .wishlist-info {
    width: 100%;
  }
}

/* Notification Settings Page Style */

.notification-wrapper {
  padding: 20px;
  background: #f5f7fa;
}

.notification-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2rem auto;
  max-width: 800px;
}

.notification-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.notification-card {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: auto;
}

.notification-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border: 1px solid #eee;
  /* border-radius: 10px; */
  padding: 16px 20px;
  margin-bottom: 16px;
  background: #fff;
}

.notification-item h3 {
  margin: 0 0 6px;
  font-size: 1.4rem;
  font-weight: 600;
}

.notification-item p {
  margin: 0;
  font-size: 1.2rem;
  color: #666;
}

.text-content {
  max-width: 80%;
}

.switch {
  position: relative;
  display: inline-block;
  width: 45px;
  height: 25px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  border-radius: 34px;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 17px;
  width: 17px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: #4ebf0c;
}

input:checked + .slider:before {
  transform: translateX(20px);
}

.slider.round {
  border-radius: 34px;
}

.save-button {
  text-align: center;
  margin-top: 30px;
}

.save-button button {
  background: #4ebf0c;
  color: white;
  border: none;
  padding: 12px 30px;
  font-size: 1.3rem;
  border-radius: 8px;
  cursor: pointer;
}

.save-button button:hover {
  background: #16a34a;
}

.switch-wrapper {
  margin-left: auto;
}

@media (max-width: 768px) {
  .notification-item {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
  }

  .text-content {
    max-width: 80%;
  }

  .save-button button {
    width: 100%;
  }
}

/* Notification Page Style */

.notification-list-wrapper {
  background: #f5f7fa;
  padding: 2rem 1rem;
}

.notification-header {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 800px;
  margin: 0 auto 2rem auto;
}

.notification-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 0;
}

.back-button {
  background: white;
  border: none;
  padding: 8px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  cursor: pointer;
}

.notification-list {
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  max-width: 800px;
  margin: auto;
}

.notification-entry {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #fff;
  border: 1px solid #eee;
  padding: 16px 20px;
  margin-bottom: 16px;
}

.notification-entry .icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: #f1f1f1;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #666;
}

.notification-entry .text {
  flex: 1;
}

.notification-entry h4 {
  font-size: 1.3rem;
  margin: 0 0 4px;
  font-weight: 600;
}

.notification-entry p {
  font-size: 1.1rem;
  margin: 0 0 6px;
  color: #333;
}

.notification-entry .timestamp {
  font-size: 1rem;
  color: #888;
}

/* Responsive */
@media (max-width: 768px) {
  .notification-entry {
    flex-direction: row;
    align-items: flex-start;
  }

  .notification-entry .text {
    flex: 1;
  }
}

/* My Profile Page Style */

.profile-container {
  background: #f5f7fa;
  padding: 2rem 1rem;
}

.profile-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  margin: 2rem auto;
  max-width: 800px;
}

.profile-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.profile-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-sizing: border-box;
  margin: auto;
  max-width: 800px;
}

.profile-box h3 {
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
  font-weight: 600;
}

.profile-input {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  background: #fdfdfd;
  box-sizing: border-box;
}

.profile-input i {
  color: #999;
  font-size: 1.3rem;
}

.profile-input input {
  border: none;
  outline: none;
  font-size: 1.3rem;
  background: transparent;
  flex: 1;
  color: #333;
}

 /* Add smooth transition for background and border color change */
 .profile-input input {
  transition: all 0.3s ease;
}

/* Default input styling */
.profile-input input:disabled {
  background-color: #f5f5f5; /* Light gray background when disabled */
  color: #aaa;
}

/* Input styling when editable */
.editable {
  background-color: #fff;  /* White background when editable */
  border: 2px solid #4ebf0c;  /* Green border when editable */
  color: #333;
}

/* Focus effect on editable fields */
.editable:focus {
  border-color: #379607;  /* Darker green when the input is focused */
  box-shadow: 0 0 5px rgba(0, 150, 0, 0.3);  /* Light green glow effect */
}

/* Button styling */
.profile-buttons button {
  padding: 10px 20px;
  background-color: #4ebf0c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.profile-buttons button:hover {
  background-color: #379607; /* Darker green on hover */
}

/* Hide Update button by default */
#update-btn {
  display: none;
}

.change-password {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 1rem;
  margin-top: 5rem;
  cursor: pointer;
  justify-content: space-between;
  background: #fff;
}

.change-password i {
  font-size: 1.3rem;
}

.change-password button {
  color: #4ebf0c;
  text-decoration: none;
  flex: 1;
  font-weight: 600;
  font-size: 1.3rem;
}

.arrow-icon {
  color: #4ebf0c;
}

/* Change Password Style */

.password-container {
  background: #f5f7fa;
  padding: 2rem 1rem;
}

.password-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  margin: 2rem auto;
  max-width: 800px;
}

.password-header h2 {
  font-size: 1.5rem;
  font-weight: 600;
}

.password-box {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
  box-sizing: border-box;
  margin: auto;
  max-width: 800px;
}

.password-box h3 {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.password-group {
  margin-bottom: 1.5rem;
}

.password-group label {
  display: block;
  margin-bottom: 0.7rem;
  font-weight: 500;
  font-size: 1.2rem;
  color: #333;
}

.password-input {
  display: flex;
  align-items: center;
  border: 1px solid #eee;
  border-radius: 8px;
  padding: 0.8rem 1rem;
  background: #fdfdfd;
}

.password-input i {
  color: #999;
  font-size: 1.2rem;
}

.password-input input {
  border: none;
  outline: none;
  background: transparent;
  font-size: 1.2rem;
  margin: 0 0.7rem;
  flex: 1;
  color: #333;
}

.toggle-password {
  cursor: pointer;
}

/* General Alert Styles */
.alert {
  position: relative;
  padding: 15px;
  margin: 10px 0;
  border-radius: 5px;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  max-width: 100%;
  box-sizing: border-box;
}

/* Success Alert */
.alert-success {
  background-color: #d4edda;
  border-left: 5px solid #28a745;
  color: #155724;
}

.alert-success .alert-icon {
  color: #28a745;
}

/* Error Alert */
.alert-error {
  background-color: #f8d7da;
  border-left: 5px solid #dc3545;
  color: #721c24;
}

.alert-error .alert-icon {
  color: #dc3545;
}

/* Warning Alert */
.alert-warning {
  background-color: #fff3cd;
  border-left: 5px solid #ffc107;
  color: #856404;
}

.alert-warning .alert-icon {
  color: #ffc107;
}

/* Info Alert */
.alert-info {
  background-color: #d1ecf1;
  border-left: 5px solid #17a2b8;
  color: #0c5460;
}

.alert-info .alert-icon {
  color: #17a2b8;
}

/* Alert Icons (optional) */
.alert-icon {
  margin-right: 10px;
  font-size: 1.5rem;
}

/* Close Button */
.alert .alert-close {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.25rem;
  background: none;
  border: none;
  color: inherit;
  cursor: pointer;
}

/* Close Button Hover Effect */
.alert .alert-close:hover {
  color: #000;
  background-color: transparent;
}

/* Example for a specific class to modify text if needed */
.alert-text {
  flex-grow: 1;
}

#responseMessage {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.8); /* Dark background */
  color: white;
  padding: 15px 25px;
  border-radius: 5px;
  font-size: 15px;
  display: none;
  z-index: 9999;
  opacity: 0;
  transition: opacity 0.5s ease;
}

/* Make the popup visible */
#responseMessage.show {
  opacity: 1;
}

/* Responsive Alerts for smaller screens */
@media (max-width: 576px) {
  .alert {
    font-size: 1rem;
    padding: 12px;
  }

  .alert-icon {
    font-size: 1.25rem;
  }
}

hr {
  border: none;
  height: 2px;
  background-color: #ccc;
  margin: 20px 0;
  width: 100%;
  border-radius: 1px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* Hide the native radio input */
input[type="radio"] {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

/* Create a custom radio button */
input[type="radio"] + label {
  position: relative;
  padding-left: 30px;
  cursor: pointer;
  font-size: 16px;
  user-select: none;
  display: inline-block;
  color: #333;
}

/* The outer circle */
input[type="radio"] + label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  border: 2px solid #999;
  border-radius: 50%;
  background-color: #fff;
  transition: border-color 0.3s ease;
}

/* The inner dot */
input[type="radio"]:checked + label::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  transform: translateY(-50%);
  height: 10px;
  width: 10px;
  border-radius: 50%;
  background-color: #16a34a; /* Primary color */
}

/* Hover effect */
input[type="radio"]:hover + label::before {
  border-color: #16a34a;
}

/* Focus outline */
input[type="radio"]:focus + label::before {
  outline: 2px solid #16a34a;
  outline-offset: 2px;
}

/* Basic styling for pagination container */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px;
}

/* Style for each pagination link */
.pagination a {
  margin: 0 5px;
  padding: 8px 15px;
  font-size: 16px;
  text-decoration: none;
  color: #16a34a;
  border: 1px solid #16a34a;
  border-radius: 5px;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Style for active pagination link */
.pagination a.active {
  background: #16a34a;
  color: #fff;
  border-color: #16a34a;
}

/* Hover effect for pagination links */
.pagination a:hover:not(.active) {
  background-color: #f1f1f1;
  color: #16a34a;
}

/* Disable link styles for previous/next if on first/last page */
.pagination a[disabled] {
  color: #ddd;
  cursor: not-allowed;
  pointer-events: none;
}

/* Previous and Next buttons style */
.pagination a:first-child,
.pagination a:last-child {
  font-weight: bold;
  /* background-color: #f8f9fa; */
  border: 1px solid #ddd;
}

.pagination a:first-child:hover,
.pagination a:last-child:hover {
  background-color: #e9ecef;
}

/* Modal styles */
.removeitemmodal {
  display: none; /* Hide modal by default */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.removeitemmodal-content p {
  font-size: 14px;
}

.removeitemmodal-content {
  background-color: #fff;
  padding: 20px;
  border-radius: 5px;
  text-align: center;
  width: 300px;
}

.removeitemmodal-actions {
  margin-top: 20px;
}

.removeitemmodal-actions .btn {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  border: none;
  border-radius: 5px;
  margin: 0 10px;
}

.removeitemmodal-actions .btn-danger {
  background-color: #e74c3c;
  color: #fff;
}

.removeitemmodal-actions .btn:hover {
  opacity: 0.8;
}

/* Favorite button styles */

.fav-icon-btn {
  background: transparent;   
  border: none;              
  padding: 0;                
  cursor: pointer;           
  position: relative;         
  display: inline-block;      
  width: auto;
  height: auto;
}

.fav-icon-btn i {
  font-size: 2rem;           
  color: #999;                
  transition: color 0.3s ease; 
}

.fav-icon-btn.active i {
  color: #e74c3c;
}

.fav-icon-btn i {
  transition: color 0.3s, transform 0.3s;
}

.fav-icon-btn i:active {
  transform: scale(1.2);
}

.fav-icon-btn:hover i {
  animation: pulse 0.6s ease-out forwards;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2); 
  }
  100% {
    transform: scale(1);
  }
}

 /* Profile Fields Styling */
 .profile-input input {
  transition: all 0.3s ease;
  padding: 10px;
  margin: 5px 0;
  width: 100%;
  border-radius: 5px;
  border: 1px solid #ccc;
  font-size: 14px;
}

.profile-input input:disabled {
  background-color: #f5f5f5;
  color: #aaa;
}

.editable {
  background-color: #fff;
  border: 2px solid #4ebf0c;
  color: #333;
}

.editable:focus {
  border-color: #379607;
  box-shadow: 0 0 5px rgba(0, 150, 0, 0.3);
}

/* Change Password Button */
.change-password button {
  padding: 10px 20px;
  background-color: #4ebf0c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

.change-password button:hover {
  background-color: #379607;
}

/* Modal Styling */
.password-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.password-modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  max-width: 400px;
}

.close-btn {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close-btn:hover,
.close-btn:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

.password-modal input {
  margin: 10px 0;
  padding: 10px;
  width: 100%;
  font-size: 14px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

.password-modal label{
  font-size: 14px;
}

.password-modal button {
  padding: 10px 20px;
  background-color: #4ebf0c;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
}

.password-modal button:hover {
  background-color: #379607;
}

.modal-overlay {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}
.modal-box {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 320px;
  text-align: center;
}
.modal-box p{
  font-size:14px;
}
.modal-actions {
  margin-top: 15px;
  display: flex;
  justify-content: space-around;
}

/* Styling for the Order Modal */
.order-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent black background */
  display: none; /* Initially hidden */
  z-index: 1000;
  overflow: auto;  /* Allow scrolling if content exceeds modal height */
  padding-top: 60px;
}

/* Modal Content Styling */
.order-modal-content {
  background-color: #fff;
  margin: 5% auto;
  padding: 30px;
  width: 80%;
  max-width: 800px;
  border-radius: 8px;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  animation: slideIn 0.5s ease-in-out;
  max-height: 90vh; /* Limit the modal height to 90% of the viewport height */
  overflow-y: auto; /* Allow vertical scrolling */
}

/* Close Button inside the Modal */
.close-model-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 25px;
  color: #333;
  cursor: pointer;
  background: transparent;
  border: none;
}

/* Modal Heading */
.order-modal-content > h2 {
  font-size: 1.8rem;
  margin-bottom: 20px;
  color: #333;
}

/* Modal Paragraphs */
.order-modal-content > p {
  font-size: 1.4rem;
  margin: 20px 0;
  color: #333;
  font-weight: bolder;
}

/* Order Details and Products Section */
.order-details, .order-products {
  margin-bottom: 20px;
}

/* Table Styling */
.order-products-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

/* Table Header and Cells */
.order-products-table th, .order-products-table td {
  padding: 12px;
  border: 1px solid #ddd;
  text-align: left;
  font-size: 13px;
}

.order-products-table th {
  background-color: #f4f4f4;
}

/* Confirmation Button Styling */
.order-confirmation {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.confirm-receipt-btn {
  padding: 12px 30px;
  font-size: 1.2rem;
  background-color: #4CAF50;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.confirm-receipt-btn:hover {
  background-color: #45a049;
}

/* Modal Animation */
@keyframes slideIn {
  0% {
      opacity: 0;
      transform: translateY(-50px);
  }
  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

/* Responsive Design for Small Screens */
@media screen and (max-width: 768px) {
  .order-modal-content {
      width: 90%; /* Make modal content width smaller on mobile */
      padding: 20px; /* Reduce padding */
  }

  .order-modal-content > h2 {
      font-size: 1.6rem; /* Smaller heading font on mobile */
  }

  .order-modal-content > p {
      font-size: 1.2rem; /* Smaller text on mobile */
  }

  .order-products-table th, .order-products-table td {
      font-size: 12px; /* Smaller font for table on mobile */
  }

  .confirm-receipt-btn {
      padding: 10px 20px; /* Smaller button on mobile */
      font-size: 1rem;
  }
}
