.hero-slider {
  position: relative;
  width: 100%;
  height: 100vh;
}

.slider-content {
  height: 100vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.overlay-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  text-align: center;
}

.tags span {
  background: #f2f2f2;
  color: black;
  padding: 6px 14px;
  margin: 4px;
  border-radius: 20px;
  font-weight: 500;
  display: inline-block;
}

.overlay-content h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin-top: 20px;
}

.overlay-content p {
  font-size: 1.2rem;
  margin-top: 10px;
}

.shop-now-btn {
  background-color: #437a3a;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 25px;
  margin-top: 20px;
  font-size: 1rem;
  cursor: pointer;
  transition: 0.3s ease;
}

.shop-now-btn:hover {
  background-color: #437a3a;
}

/* Responsive */
@media (max-width: 768px) {
  .overlay-content h2 {
    font-size: 1.8rem;
  }

  .overlay-content p {
    font-size: 1rem;
  }

  .shop-now-btn {
    font-size: 0.9rem;
  }
}

.sidebar-shop {
  display: flex;
  align-items: flex-start;
  width: 25%;
  margin-right: 20px;
  background: #fff;
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 4px rgba(28, 28, 28, .06);
  border-radius: 24px;
  overflow-y: scroll;
  position: sticky;
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.on-scroll {
  height: 500px;
  overflow-y: scroll;
}

/* Scrollbar styling for WebKit browsers */
.on-scroll::-webkit-scrollbar {
  width: 8px;
}

.on-scroll::-webkit-scrollbar-thumb {
  background-color: #437a3a;
  border-radius: 10px;
}

.on-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
}

.product-section {
  padding: 20px;
  background: #fff;
}

.product-card {
  background: #fff;
  border: 1px solid #477a37;
  border-radius: 12px;
  padding: 7px 0px 14px 0px;
  position: relative;
  height: 100%;
  width: 100%;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.discount-badge {
  position: absolute;
  top: 16px;
  right: 50px;
  background: #2962ff;
  color: white;
  font-size: 12px;
  padding: 2px 6px;
  border-radius: 6px;
  font-weight: bold;
  z-index: 10;
  /* Make sure it's above the image */
}

.product-img {
  display: block;
  margin: 0 auto;
  max-width: 140px;
  height: 160px;
  object-fit: contain;
}

.product-title {
  font-size: 14px;
  text-align: left;
  text-transform: capitalize;
  margin: 5px 0;
  color: #477a37;
  font-weight: 600;
}

.product-qty {
  font-size: 16px;
  color: gray;
  text-align: left;
  font-weight: 600;
}

.line-light {
  width: 100%;
  height: 1px;
  background: #a9a9a9;
  margin: 10px 0;
}

.price-action-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 90%;
  padding: 10px;
  border-radius: 7px;
  margin-top: auto;
}

.price {
  font-weight: 600;
  font-size: 15px;
  color: #1b1b1b;
}

.mrp {
  font-size: 13px;
  color: #888;
  margin-left: 6px;
  text-decoration: line-through;
}

.add-btn {
  background-color: #fff;
  border: 1px solid #437a3a;
  color: #437a3a;
  padding: 5px 12px;
  border-radius: 17px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.3s;
}

.add-btn:hover {
  background-color: #437a3a;
  color: white;
}

.wish-btn {
  background-color: #4d7447;
  border: 1px solid #e3e0e0;
  color: #fff;
  padding: 10px 19px;
  border-radius: 18px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Public Sans';
}

.wish-remove {
  background-color: #4d7447;
  border: 1px solid #e3e0e0;
  color: #fff;
  padding: 10px 19px;
  border-radius: 18px;
  font-size: 13px;
  cursor: pointer;
  transition: 0.3s;
  font-family: 'Public Sans';
}

.add-btn .plus {
  font-weight: bold;
  margin-left: 4px;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-controls button {
  background: #fff;
  border: none;
  padding: 6px 12px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-controls input {
  width: 48px;
  height: 36px;
  text-align: center;
  border: none;
  background: #fff;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 500;
  color: #333;
}

/* Remove number arrows */
.qty-controls input::-webkit-outer-spin-button,
.qty-controls input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.qty-controls input[type="number"] {
  -moz-appearance: textfield;
}

.fix-height {
  flex-direction: column;
  align-items: flex-center;
  /* 'self-start' is invalid */
  /* min-height: 260px; */
  min-height: 220px;
  width: 90%;
  /* Minimum height */
  max-height: auto;
  text-align: center;
}

.w-800 {
  font-family: OurLexend, Helvetica, sans-serif;
}



.category-slider-wrapper {
  display: flex;
  align-items: center;
  background: #f7f9fc;
  border-radius: 40px;
  padding: 10px 12px;
  overflow: hidden;
  position: relative;
  white-space: nowrap;
}

.category-slider {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  /* IE/Edge */
  scrollbar-width: none;
  /* Firefox */
}

.category-slider::-webkit-scrollbar {
  display: none;
  /* Chrome/Safari */
}

.category-item {
  font-size: 16px;
  /* font-weight: 500; */
  color: #4b8043;
  white-space: nowrap;
  cursor: pointer;
  flex-shrink: 0;
}

.category-item.active {
  color: #000;
  font-weight: 700;
}

.slider-btn {
  border: none;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px #ddd;
  width: 32px;
  height: 32px;
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.slider-btn.left {
  margin-right: 10px;
}

.slider-btn.right {
  margin-left: 10px;
}

/* Responsive padding and gaps */
@media (max-width: 768px) {
  .category-slider-wrapper {
    padding: 6px;
  }

  .category-slider {
    gap: 16px;
  }

  .category-item {
    font-size: 14px;
  }
}

.category-slider-wrapper {
  display: flex;
  align-items: center;
  width: 100%;
  background: rgb(232, 241, 230);
  border: 1px solid #ebebeb;
  box-shadow: 0 1px 4px rgba(28, 28, 28, .06);
  border-radius: 24px;
}

.category-slider {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
}

.category-item {
  display: inline-block;
  padding: 8px 12px;
  font-size: 17px;

  /* font-weight: 600; */
  cursor: pointer;
  white-space: nowrap;
}



.slider-btn {
  background: #f0f0f0;
  border: none;
  padding: 6px 10px;
  font-size: 20px;
  border-radius: 50%;
  cursor: pointer;
}

.text-category {
  color: #4b8043 !important;
}

@media screen and (max-width: 767px) {
  .mb-mobile {
    margin-bottom: 10px;
  }
}

footer .main-footer {
  /* border-top: 1px dashed #c1c1c1; */
}

@media (max-width: 991.98px) {
  .mobile-hide {
    display: none !important;
  }
}

.icon-color {
  color: #437a3a;
}

.theme-colors {
  color: #0da487;
}

.nab-bottom {
  border-bottom: 1px solid #dee2e6;
}

.custom-tooltip {
  position: relative;
  cursor: pointer;
}

.custom-tooltip .tooltip-text {
  visibility: hidden;
  width: max-content;
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 8px;
  border-radius: 5px;
  position: absolute;
  z-index: 10;
  top: 100%;
  left: 0;
  white-space: nowrap;
  font-size: 12px;
}

.custom-tooltip:hover .tooltip-text {
  visibility: visible;
}

.product-packs {
  width: 100%;
  font-size: 13px;
  margin-top: 5px;
}

.pack-item {
  display: block;
  width: 100%;
  text-align: left;
  /* border: 1px solid #437a3a; */
  background-color: transparent;
  color: #1d1c1c;
  /* padding: 8px 0; */
  border-radius: 6px;
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: background 0.2s ease;
}

/* .pack-item:hover {
  background-color: #437a3a;
  color: #fff;
} */

.select-h {
  height: calc(51px + 3 * (100vw - 320px) / 1600);
}

.blink-message {
  color: rgb(10, 100, 10);
  font-weight: bold;
  border-radius: 1px rgb(100, 10, 40);
  ;
}

.product-card {
  position: relative;
}

.wishlist-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: white;
  border: 0px solid #a9a9a9;
  /* border around button */
  border-radius: 50%;
  padding: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wishlist-btn i {
  color: #fff;
  /* white heart */
  font-size: 16px;
  -webkit-text-stroke: 1px #a9a9a9;
}

.wishlist-btn:hover {
  transform: scale(1.1);
}



.saving-tiers {
  text-align: left;
  display: block;

  /* each tier in a new line */
  background: whitesmoke;
  border: 1px solid #a9a9a9;
  padding: 6px 10px;
  margin-bottom: 6px;
  border-radius: 4px;
  cursor: pointer;
}

.tire-bg {
  border-radius: 8px;


  width: 100%;
}

.tire-line {
  border-radius: 8px;
  color: #256FEF;
  padding: 0px 20px 8px 12px;
  background-color: #F7FAFF;
  width: 90%;
}

.line-tire {
  display: inline-block;
  width: 76%;
  height: 1px;
  margin-bottom: 12px;
  margin-top: 16px;
}

.add-qty-c {
  color: #437a3a;

}

.width-fix {
  min-width: 100% !important;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.category-fix {
  height: 140px;
  padding: 0px;
  width: 100%;
}

.brand-fix-size {
  height: 150px !important;
  width: 190px !important;
}

.shop-bg-fix {
  background: #fff;

}

.otp-input-container {
  gap: 3px;
}

.otp-input {
  width: 40px;
  height: 50px;
  font-size: 20px;
  text-align: center;
}

.tooltip-inner {
  background-color: #ffc107 !important;
  color: #000 !important;
  font-weight: 600;
  font-size: 14px;
}

.tooltip.bs-tooltip-bottom .tooltip-arrow::before {
  border-bottom-color: #ffc107 !important;
}

.wallet-tooltip {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.wallet-tooltip .tooltip-box {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: #198754;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: bold;
  position: absolute;
  z-index: 1;
  top: 125%;
  /* above icon */
  left: 50%;
  transform: translateX(-50%);
  transition: opacity 0.3s;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
}

.wallet-tooltip:hover .tooltip-box {
  visibility: visible;
  opacity: 1;
}

.table-padding {
  padding: 0px 0px 0px !important;
}

.custom-table thead {
  background-color: #28a745;
  /* Bootstrap green shade */
  color: white;

  font-weight: bold;
  text-align: center;
}

/* Alternate row colors */
.custom-table tbody tr:nth-child(odd) {
  background-color: #fff;
  /* white */
}

.custom-table tbody tr:nth-child(even) {
  background-color: #f8f9fa;
  margin-top: 10px;
  /* light gray */
}

/* Table footer styling */
.custom-table tfoot {
  background-color: #e8f1e6;
  font-weight: 600;
}

.custom-table tfoot td {
  padding: 20px 20px;
  border-top: 2px solid #ccc;
  vertical-align: middle;
}

.header-bar {
  background-color: #4d7447;
  /* Dark green */
  padding: 15px 20px;
}

/* Make search input blend nicely */
.header-bar .form-control {
  border: none;
  outline: none;
  background: #ffffff;
  color: #000;
}


.search-inline {
  height: 50px;
  /* same height as category pill */
  border: 1px solid #a3c59c;
  /* subtle green border like category */
  border-radius: 50px;
  /* pill shape like category */
  padding: 0 20px;
  font-size: 14px;
  outline: none;
}

.search-inline::placeholder {
  color: #6c757d;
}

.search-inline:focus {
  border-color: #612f51;
  /* darken border on focus */
  box-shadow: none;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #612f51;
  /* green background */
  border-radius: 6px;
  /* rounded corners */
  width: 40px;
  height: 40px;
  background-size: 40% 40%;
  background-position: center;
  background-repeat: no-repeat;
  filter: invert(1);
  /* make the default white icons stay white */
}

.carousel-control-prev,
.carousel-control-next {
  width: auto;
  /* make them not full height */
  padding: 10px;
  /* space around icon */
}

.responsive-margin {
  margin-top: 50px;
}

@media screen and (max-width: 1400px) {
  .responsive-margin {
    margin-top: 60px;
  }
}

.top-postion-fix {
  position: fixed;
  top: 100px;
  left: 0;
  right: 0;
  z-index: 99;
  background-color: #fff;
}

@media screen and (max-width: 1400px) {
  .top-postion-fix {
    top: 100px;
  }
}

.faq-tabs .faq-tab {
  border: 1px solid #ddd;
  background: #ffffff;
  color: #000;
  padding: 10px 20px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.faq-tabs .faq-tab:hover {
  border-color: #437a3a;
  color: #437a3a;
}

.faq-tabs .faq-tab.active {
  border: 1px solid #437a3a;
  color: #437a3a;
  background: #437a3a12;
}

.profile-padding {
  padding: 10px 10px 10px !important;
}

.active-step {
  background: linear-gradient(135deg, #4CAF50, #2e5d2b);
  color: #fff !important;
}

.active-step p,
.active-step h4 {
  color: #fff !important;
}

.color-pd {
  color: #437a3a !important;
}

.chat-box {
  position: fixed;
  bottom: 30px;
  right: 20px;
  width: 320px;
  min-height: 300px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 1000;
}

.chat-header {
  background: #437a3a;
  color: #fff;
  font-size: 14px;
}

.chat-body {
  padding: 10px;
  flex: 1;
  overflow-y: auto;
  max-height: 300px;
  background: #f8f9fa;
}

.chat-message {
  margin-bottom: 8px;
  padding: 8px 12px;
  border-radius: 12px;
  max-width: 80%;
  font-size: 13px;
  line-height: 1.4;
}

.chat-message.user {
  background: #437a3a;
  color: white;
  margin-left: auto;
}

.chat-message.bot {
  background: #e9ecef;
  color: #000;
  margin-right: auto;
}

.chat-footer input {
  font-size: 13px;
}