/* Header Css */
/* Header Css */

/* Responsive image safety net (prevents mobile horizontal overflow).
   Class-specific sizes (.product-img, .category-img, etc.) still win. */
img { max-width: 100%; height: auto; }

/* Defensive backstop against any stray wide element causing page-level
   horizontal scroll (e.g. fixed-width decorative shapes on narrow viewports). */
html, body { max-width: 100%; overflow-x: hidden; }

.logo-m {
  height: 60px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
}

.top-banner {
  background: linear-gradient(90deg, #6f9a34, #90c14b);
  color: #fff;
  padding: 6px 0;
  font-weight: 600;
  font-size: 14px;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: inline-flex;
  width: max-content;
  animation: marquee-scroll 22s linear infinite;
}

.marquee-content {
  padding-right: 60px;
}

@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
}

.top-banner:hover .marquee-track {
  animation-play-state: paused;
}

.header {
  border-bottom: 1px solid white;
  background-color: #ffffff;
  color: rgb(0, 0, 0);
  padding: 15px 0;
}

.navbar-nav .nav-link {
  color: rgb(0, 0, 0) !important;
  font-weight: 500;
  position: relative;
  transition: color .2s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, #6f9a34, #90c14b);
  border-radius: 2px;
  transform: translateX(-50%);
  transition: width .25s ease;
}

.navbar-nav .nav-link:hover {
  color: #4a7a1e !important;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
  width: 60%;
}

.nav-link.active {
  color: #00a6ed !important;
  font-weight: bold;
}

/* "More" dropdown (Safety Tips / Blog / Contact Us) */
.navbar-nav .dropdown-toggle::after {
  transition: transform .2s ease;
  vertical-align: 2px;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-toggle::after,
.navbar-nav .dropdown-toggle[aria-expanded="true"]::after {
  transform: rotate(180deg);
}

.navbar-nav .dropdown-menu {
  display: block;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
  border: none;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
  margin-top: 6px;
  padding: 6px;
}

.navbar-nav .nav-item.dropdown:hover .dropdown-menu,
.navbar-nav .dropdown-menu.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.navbar-nav .dropdown-item {
  border-radius: 7px;
  font-weight: 500;
  color: #1e2a12 !important;
  padding: 8px 14px;
  transition: background .15s ease, color .15s ease;
}

.navbar-nav .dropdown-item:hover,
.navbar-nav .dropdown-item.active {
  background: #f1f7ea;
  color: #4a7a1e !important;
}

.phone-number {
  color: #000;
  font-size: 14px;
  font-weight: bold;
}

.offcanvas-header {
  background: linear-gradient(135deg, #6f9a34, #90c14b);
  color: white;
}

.offcanvas-body .nav-link {
  padding-left: 1rem;
  color: #3a4a1e;
}

/* New Products */

.new_product .listing-section,
.cart-section {
  width: 100%;
  padding: 1%;
  border-bottom: 0.01em solid #dddbdb;
}

.new_product .product {
  position: relative;
  width: 23%;
  min-width: 200px;
  border-radius: 2%;
  margin: 1%;
  border: 1px solid #d7ebc0;
}

.new_product .product:hover {
  box-shadow: 1.5px 1.5px 2.5px 3px rgba(0, 0, 0, 0.4);
  -webkit-box-shadow: 1.5px 1.5px 2.5px 3px rgba(0, 0, 0, 0.4);
  -moz-box-shadow: 1.5px 1.5px 2.5px 3px rgba(0, 0, 0, 0.4);
}

.new_product .image-box {
  width: 100%;
  text-align: center;
  overflow: hidden;
  border-radius: 2% 2% 0 0;
}

.new_product .images {
  height: 150px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  border-radius: 2% 2% 0 0;
  transition: all 1s ease;
  -moz-transition: all 1s ease;
  -ms-transition: all 1s ease;
  -webkit-transition: all 1s ease;
  -o-transition: all 1s ease;
}

.new_product .images:hover {
  transform: scale(1.2);
  overflow: hidden;
  border-radius: 2%;
}

/* IMAGES */
#image-1 {
  background-image: url("../images/product1.jpg");
}

#image-2 {
  background-image: url("../images/product2.jpg")
}

#image-3 {
  background-image: url("../images/product3.jpg")
}

#image-4 {
  background-image: url("../images/product4.jpg")
}

#image-5 {
  background-image: url("../images/product5.jpg")
}

#image-6 {
  background-image: url("../images/product6.jpg")
}

#image-7 {
  background-image: url("../images/product7.jpg")
}

#image-8 {
  background-image: url("../images/product8.jpg")
}

#image-9 {
  background-image: url("../images/product9.jpg")
}

#image-10 {
  background-image: url("../images/product10.jpg")
}

.new_product .text-box {
  width: 100%;
  float: left;
  border: 0.01em solid #dddbdb;
  border-radius: 0 0 2% 2%;
  padding: 10px 15px;
}

.new_product h2,
.new_product h3 {
  text-align: left;
  font-family: 'Roboto', sans-serif;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  margin: 0.2em auto;
}

.new_product .brand {
  font-family: 'Roboto', sans-serif;
  font-weight: 400;
  font-size: 12px;
  color: #de5065;
  text-align: left;
}

.price_line_through {
  color: Grey;
  text-decoration: line-through;
  margin-left: 5px;
}

.new_product .price {
  font-weight: 600;
  color: black;
}

.new_product .description,
.new_product button,
.new_product .btn-view-product {
  float: left;
  clear: left;
  width: 100%;
  font-family: 'Roboto', sans-serif;
  font-weight: 300;
  font-size: 1em;
  text-align: center;
  margin: 0.2em auto;
}




.new_product .text-box input {
  width: 15%;
  clear: none;
}

.new_product .text-box button {
  margin-top: 1em;
}

.new_product button,
.new_product .btn-view-product {
  display: inline-block;
  box-sizing: border-box;
  padding: 2%;
  background-color: #dfd;
  border: none;
  border-radius: 2%;
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  position: relative;
}

.new_product button:hover,
.new_product .btn-view-product:hover {
  bottom: 0.1em;
  color: inherit;
  text-decoration: none;
}

.new_product button:focus,
.new_product .btn-view-product:focus {
  outline: 0;
}

.new_product button:active,
.new_product .btn-view-product:active {
  bottom: 0;
  background-color: #fdf;
}

.bagde-flag-wrap {
  position: absolute;
  top: 20px;
  left: -12px;
}

.bagde-flag-wrap::before {
  content: "";
  position: absolute;
  top: 26px;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 0 12px 12px 0;
  border-color: transparent #ecb41c transparent transparent;
}

.bagde-flag {
  text-transform: capitalize;
  color: #ffffff;
  background: #ecb41c;
  letter-spacing: 0;
  font-size: 12px;
  line-height: 10px;
  font-weight: 600;
  padding: 8px 14px;
  display: block;
  text-decoration: none;
}

.one-heading {
  text-align: center;
  margin-bottom: 46px;
}

.one-heading h1 {
  position: relative;
  display: inline-block;
  padding: 0 0 22px;
  margin: 0;
  font-family: "Poppins", "Raleway", sans-serif;
  font-weight: 800;
  font-size: 34px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: #1e2a12;
}

.one-heading h1 span {
  display: block;
  font-size: 0.5em;
  line-height: 1.3;
}

.one-heading h1 em {
  font-style: normal;
  font-weight: 600;
}

/* === HEADING STYLE: brand-green accent underline with a center dot === */
.one-heading h1:before {
  width: 72px;
  height: 4px;
  border-radius: 4px;
  display: block;
  content: "";
  position: absolute;
  bottom: 6px;
  left: 50%;
  margin-left: -36px;
  background: linear-gradient(90deg, #6f9a34, #90c14b);
}

.one-heading h1:after {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: block;
  content: "";
  position: absolute;
  bottom: 3px;
  left: 50%;
  margin-left: -5px;
  background: #90c14b;
  box-shadow: 0 0 0 4px #eaf5dc;
}


/* why-choose card */


.feature-card {
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 24px rgba(111, 154, 52, 0.18);
}

.icon-circle {
  width: 60px;
  height: 60px;
  margin: 0 auto;
  border-radius: 50%;
  background: linear-gradient(135deg, #6f9a34, #90c14b);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* bank card */
.bank-account {
  background: #f6faf0;
}

.bank-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.bank-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}


.icon-background {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #6f9a34, #90c14b);
  border-radius: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  box-shadow: 0 8px 16px rgba(111, 154, 52, 0.2);
}

.icon-background i {
  font-size: 2rem;
  color: white;
}

.bank-account .card-body {
  padding: 1.5rem;
}

.bank-account .card-title {
  font-size: 1.2rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.account-txt {
  font-size: 0.9rem;
  color: #555;
  margin: 5px 0;
}

/* footer css */

.main-footer a,
.main-footer a:hover,
.main-footer a:focus,
.main-footer a:active {
  text-decoration: none;
  outline: none;
}

.main-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.main-footer {
  position: relative;
  background: #1e2129;
  overflow-x: hidden;
}

.footer-content {
  position: relative;
  padding: 85px 0px 80px 0px;
}

.footer-content .logo-widget {
  position: relative;
  margin-top: -5px;
}

.footer-content .logo-widget .footer-social li {
  position: relative;
  display: inline-block;
  margin-right: 9px;
}

.footer-content .logo-widget .footer-social li:last-child {
  margin-right: 0px;
}

.footer-content .logo-widget .footer-social li a {
  position: relative;
  display: inline-block;
  width: 42px;
  height: 42px;
  line-height: 42px;
  background: #2e3138;
  color: #9ea0a9;
  text-align: center;
  border-radius: 50%;
}

.footer-content .logo-widget .footer-social li a:hover {
  color: #ffffff;
  background: #90c14b;
}

.footer-content .logo-widget .logo-box {
  margin-bottom: 25px;
}

.footer-content .logo-widget .text p {
  color: #9ea0a9;
  margin-bottom: 32px;
}

.footer-content .footer-title {
  position: relative;
  font-size: 24px;
  line-height: 35px;
  font-family: 'Playfair Display', serif;
  color: #ffffff;
  font-weight: 700;
  margin-bottom: 27px;
}

.footer-content .service-widget .list li {
  display: block;
  margin-bottom: 12px;
}

.footer-content .service-widget .list li a {
  position: relative;
  display: inline-block;
  color: #9ea0a9;
}

.footer-content .service-widget .list li a:hover {
  color: #90c14b;
}

.footer-content .contact-widget p {
  color: #9ea0a9;
  margin-bottom: 15px;
}

.footer-content .contact-widget {
  margin-left: 90px;
}

.footer-content .contact-widget .footer-title {
  margin-bottom: 29px;
}

/** footer-bottom **/

.footer-bottom {
  position: relative;
  background: #13151a;
  padding: 25px 0px 22px 0px;
}

.footer-bottom .copyright,
.footer-bottom .copyright a,
.footer-bottom .footer-nav li a {
  position: relative;
  color: #9ea0a9;
}

.footer-bottom .copyright a:hover,
.footer-bottom .footer-nav li a:hover {
  color: #90c14b;
}

.footer-bottom .footer-nav {
  position: relative;
  text-align: right;
}

.footer-bottom .footer-nav li {
  position: relative;
  display: inline-block;
  margin-left: 29px;
}

.footer-bottom .footer-nav li:first-child {
  margin-left: 0px;
}

.footer-bottom .footer-nav li:before {
  position: absolute;
  content: '';
  background: #9ea0a9;
  width: 1px;
  height: 14px;
  top: 7px;
  left: -18px;
}

.footer-bottom .footer-nav li:first-child:before {
  display: none;
}

.logo-box img {
  max-width: 170px;
  width: 100%;
  height: auto;
}



/* Product Page css */

.product-banner {
  /* Brand-green fallback shown whenever no inline background-image is set
     (e.g. pages without their own banner setting, like Safety Tips) —
     product-list.php overrides this with its admin-configurable image inline. */
  background: linear-gradient(135deg, #6f9a34, #90c14b);
  height: 200px;
  background-size: cover;
  background-position: center;
  position: relative;
  color: white;
}

.banner-heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 2.5rem;
  font-weight: bold;
  font-family: cursive;
}

.product-list {
  background: #f6faf0;
  padding-bottom: 12px;
}

.category-heading {
  display: table;
  margin: 26px auto 16px;
  padding: 10px 30px;
  font-size: 19px;
  font-weight: 700;
  text-align: center;
  color: #fff;
  background: linear-gradient(135deg, #6f9a34, #90c14b);
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(111, 154, 52, 0.28);
}

.product-list .table-responsive {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.product-list table {
  background-color: transparent;
  color: #2c3a1e;
  margin-bottom: 0;
}

.product-list th,.product-list td{
  vertical-align: middle !important;
  border-bottom: 1px solid #eef3e7;
  text-align: center;
  color: #2c3a1e;
  background-color: transparent;
  padding: 14px 10px;
}

.product-list tbody tr:hover td {
  background-color: #f6faf0;
}

.product-img {
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eef3e7;
  background: #fff;
}

.quantity-control {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #d7ebc0;
  border-radius: 30px;
  overflow: hidden;
}

.quantity-control input {
  width: 44px;
  text-align: center;
  background: #fff;
  border: none;
  color: #2c3a1e;
  font-weight: 700;
}

.quantity-control button {
  background: #f1f7ea;
  color: #6f9a34;
  border: none;
  padding: 7px 13px;
  font-weight: 700;
  transition: background .15s ease, color .15s ease;
}

.quantity-control button:hover {
  background: #90c14b;
  color: #fff;
}

.stock-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 30px;
  background: #fdecea;
  color: #c0392b;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

tr.out-of-stock {
  opacity: 0.6;
}

.product-card.out-of-stock {
  opacity: 0.6;
}

@media (max-width: 768px) {
  .table-responsive {
    font-size: 0.9rem;
  }

  .product-img {
    width: 44px;
    height: 44px;
  }

  .category-heading {
    font-size: 16px;
    padding: 8px 20px;
  }
}

/* checkout button */

.checkout-bar {
  width: 100%;
  max-width: 400px;
  margin: auto;
  z-index: 1050;
}

.checkout-content {

  background-color: #90c14b;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  max-width: 350px;
  padding: 30px 15px !important;
}

.cart-icon {
  display: block;
}

.checkout-content:hover .cart-icon {
  display: none;
}

.arrow-right {
  display: none;
}

.checkout-content:hover .arrow-right {
  display: block;
}

.view-cart {
  font-size: 18px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 600;
}


/* Side bar */

input.form-control,
textarea.form-control {
  margin-bottom: 1rem;
}



.dropdown-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  display: flex;
  align-items: stretch;
  background: #fff;
  border: none;
  border-radius: 30px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.dropdown-btn {
  background: linear-gradient(135deg, #a3d461 0%, #90c14b 100%);
  color: #fff;
  padding: 12px 20px;
  border: none;
  border-radius: 30px 0 0 30px;
  cursor: pointer;
  min-width: 130px;
  text-align: center;
  font-size: 14px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  transition: filter .15s ease;
}

.dropdown-btn:hover {
  filter: brightness(1.08);
}

.search-input {
  padding: 12px 18px;
  border: none;
  border-radius: 0 30px 30px 0;
  flex: 1;
  min-width: 0;
  font-size: 14px;
  color: #333;
  outline: none;
  background: #fff;
}

.search-input::placeholder {
  color: #9aa0a6;
}

.dropdown-list {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  width: 100%;
  max-height: 280px;
  overflow-y: auto;
  border: none;
  border-radius: 14px;
  background-color: #fff;
  z-index: 1000;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.18);
  padding: 6px;
}

.dropdown-list div {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 15px;
  font-weight: 500;
  font-family: 'Poppins', sans-serif;
  border-radius: 10px;
  transition: background .12s ease;
}

.dropdown-list div a {
  text-decoration: none;
  color: #2c3a1e;
  display: block;
}

.dropdown-list div:hover {
  background-color: #eaf5dc;
}

.dropdown-list div:hover a {
  color: #90c14b;
}

.bg-gray {
  background: linear-gradient(90deg, #90c14b 0%, #6f9a34 100%);
}

.sticky-container {
  position: sticky;
  top: 0;
  z-index: 20;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
}

.sticky-second-container {
  position: sticky;
  top: 70px;
  z-index: 1;
  /* border-bottom: 1px solid #ccc; */
}

.header-table {
  background: linear-gradient(135deg, #6f9a34, #90c14b) !important;
  border-radius: 14px 14px 0 0;
  overflow: hidden;
}

.header-table th {
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 13px;
  letter-spacing: 0.4px;
  border-color: rgba(255, 255, 255, 0.25) !important;
}

.modal-img {
  width: 100%;
  max-width: 400px;
}

.header-table th,
.table tbody td {
  width: 12.5%; /* 100 / 8 columns */
  text-align: center;
  vertical-align: middle;
  white-space: nowrap;
}
.table tbody td {
  padding: 15px 0px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif
}

.header-table th:nth-child(1),
.table tbody td:nth-child(1) {
  width: 5%; /* Image smaller */
}

.header-table th:nth-child(2),
.table tbody td:nth-child(2) {
  width: 30%; /* Product Name */
}

.header-table th:nth-child(3),
.table tbody td:nth-child(3) {
  width: 8%; /* Image smaller */
}
.header-table th:nth-child(4),
.table tbody td:nth-child(4) {
  width: 8%; /* Image smaller */
}
.header-table th:nth-child(5),
.table tbody td:nth-child(5) {
  width: 8%; /* Image smaller */
}
.header-table th:nth-child(7),
.table tbody td:nth-child(7) {
  width: 8%; /* Image smaller */
}


/* cart side bar */

/* Sidebar styles */
.btn-outline-light {
  border: 1px solid #fff;
  color: #fff;
}


/* Safty tips */

.heading-safe h1 {
  font-size: 90px;
  color: #000;
  font-family: 'Times New Roman', Times, serif;
}

.heading-safe p {
  font-size: 18px;
  color: #3E3e3e;
  font-family: 'Times New Roman', Times, serif;
  padding: 10px;
}

.do {
  border: 2px solid #426D53;
  text-align: center;
}

.safty-card .do .card-header {
  color: #FFFFFF;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #426D53;
  padding: 20px 0px 20px 0px;
  text-align: center;

}

.safty-card .do .card-header h1 {
  font-size: 50px;
}

.do .emoji i {
  font-size: 25px;
  color: #426D53;
  font-weight: bold;
}

.tips-content {
  margin-top: 35px;
}

.do .tips-content h4 {
  font-size: 20px;
  color: #426D53;
  font-weight: bold;
  margin-bottom: 5px;
}

.do .tips-content i {
  color: rgb(19, 247, 19);
}

.do .tips-content p {
  font-size: 18px;
  color: #426D53;
  font-weight: 400;
}

.do .card-footer {
  background-color: #426D53;
}


.donot {
  border: 2px solid #ad3737;
  text-align: center;
}

.safty-card .donot .card-header {
  color: #FFFFFF;
  font-weight: bold;
  text-transform: uppercase;
  background-color: #ad3737;
  padding: 20px 0px 20px 0px;
  text-align: center;

}

.safty-card .donot .card-header h1 {
  font-size: 50px;
}

.donot .emoji i {
  font-size: 25px;
  color: #ad3737;
  font-weight: bold;
}

.donot .tips-content h4 {
  font-size: 20px;
  color: #ad3737;
  font-weight: bold;
  margin-bottom: 5px;
}

.donot .tips-content i {
  color: rgb(247, 19, 19);
}

.donot .tips-content p {
  font-size: 18px;
  color: #ad3737;
  font-weight: 400;
}

.donot .card-footer {
  background-color: #ad3737;
}


.safty-card .card:hover {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}



/* Spinner loading */

#spinner-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  width: 100%; height: 100%;
  background: rgba(255, 255, 255, 0.8);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.spinner {
  border: 8px solid #f3f3f3;
  border-top: 8px solid #007bff;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.product-card {
  background-color: #fff;
  border: 1px solid #eaf5dc;
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 18px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
}

.product-header {
  display: flex;
  align-items: flex-start;
  margin-bottom: 10px;
}

.product-image {
  width: 60px;
  height: 60px;
  background-color: #fff;
  border-radius: 8px;
  border: 1px solid #ddd;
  margin-right: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  flex: 1;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: #3a5f1c;
  margin-bottom: 3px;
  text-align: center;
}

/* Desktop table product name */
.product-list td.name {
  font-weight: 700;
}

.product-quantity {
  font-size: 0.85rem;
  color: #5a5a5a;
  margin-bottom: 8px;
}

.product-pricing {
  font-size: 0.95rem;
  margin-bottom: 15px;
  background-color: #fff;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #eee;
}

.mrp-m,
.mrp {
  text-decoration: line-through;
  color: #999;
}

.rate {
  color: #6f9a34;
  font-weight: 700;
}

.quantity-control-new {
  display: inline-flex;
  align-items: center;
  background: #fff;
  border: 1px solid #d7ebc0;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.08);
}

.quantity-btn {
  width: 38px;
  height: 38px;
  border: none;
  background: #f1f3f5;
  color: #333;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}

.quantity-btn:hover,
.quantity-btn:active {
  background: #90c14b;
  color: #fff;
}

.quantity-input {
  width: 48px;
  height: 38px;
  text-align: center;
  border: none;
  background: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  color: #2c3a1e;
  outline: none;
}

.total-price {
  font-size: 1rem;
  font-weight: 700;
  color: #90c14b;
}

/* Mobile product card spacing (proper left/right gutters) */
@media (max-width: 767.98px) {
  .product-list .row.d-md-none {
    margin-left: 0;
    margin-right: 0;
  }
  .product-list .row.d-md-none > .col-12 {
    padding-left: 14px;
    padding-right: 14px;
  }
  .product-list .category-heading {
    padding-left: 16px;
    padding-right: 16px;
  }
  .product-card {
    padding: 16px;
  }
}



@media (max-width: 768px) {
  .one-heading h1 {
    font-size: 30px !important;
  }

  .logo-m {
    height: 44px;
    width: auto;
  }

  .navbar-toggler {
    padding: 10px;
  }
  .navbar-toggler-icon{
    font-size: 14px !important;
  }
}

/* ===================== Cart & Checkout Page ===================== */
.cart-page {
  background: #f4f6f8;
  min-height: 60vh;
}

.cart-hero {
  background: linear-gradient(135deg, #6f9a34, #90c14b);
  color: #fff;
  padding: 28px 0 60px;
  margin-bottom: -40px;
}
.cart-hero .cart-breadcrumb a {
  color: #fff;
  opacity: 0.9;
}
.cart-hero .cart-breadcrumb a:hover { opacity: 1; }
.cart-hero .cart-page-title { color: #fff; margin-bottom: 6px; }
.cart-hero-sub {
  font-size: 14px;
  opacity: 0.9;
}
.cart-hero-sub i { margin-right: 6px; }

.cart-breadcrumb a {
  color: #90c14b;
  text-decoration: none;
  font-weight: 600;
  font-size: 15px;
}
.cart-breadcrumb a:hover { text-decoration: underline; }

.cart-page-title {
  font-size: 28px;
  font-weight: 800;
  color: #212529;
  margin-bottom: 20px;
}

.cart-card,
.cart-summary {
  background: #fff;
  border: 1px solid #e6e9ec;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  overflow: hidden;
}

.cart-card-head {
  background: linear-gradient(135deg, #6f9a34, #90c14b);
  color: #fff;
  font-weight: 600;
  font-size: 16px;
  padding: 14px 18px;
}

.cart-card-body { padding: 18px; }

.cart-clear-link {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  opacity: 0.9;
}
.cart-clear-link:hover { opacity: 1; text-decoration: underline; }

/* Cart item rows */
.cart-items-list { padding: 6px 0; }

.cart-row {
  display: grid;
  grid-template-columns: 72px 1fr auto auto 40px;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-bottom: 1px solid #f0f0f0;
}
.cart-row:last-child { border-bottom: none; }

.cart-row-img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid #eee;
  background: #fafafa;
}

.cart-row-name {
  font-weight: 600;
  color: #212529;
  font-size: 15px;
  line-height: 1.3;
}
.cart-row-price { font-size: 14px; margin-top: 4px; }
.cart-row-price del { color: #adb5bd; margin-right: 6px; font-size: 13px; }
.cart-row-price span { color: #90c14b; font-weight: 700; }

.cart-qty {
  display: inline-flex;
  align-items: center;
  border: 1px solid #dee2e6;
  border-radius: 8px;
  overflow: hidden;
}
.cart-qty button {
  width: 32px;
  height: 34px;
  border: none;
  background: #f1f3f5;
  color: #333;
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}
.cart-qty button:hover { background: #90c14b; color: #fff; }
.cart-qty input {
  width: 42px;
  height: 34px;
  text-align: center;
  border: none;
  border-left: 1px solid #dee2e6;
  border-right: 1px solid #dee2e6;
  font-weight: 600;
  background: #fff;
}

.cart-row-total {
  font-weight: 700;
  color: #212529;
  font-size: 15px;
  min-width: 80px;
  text-align: right;
}

.cart-row-remove {
  background: transparent;
  border: none;
  color: #dc3545;
  font-size: 16px;
  cursor: pointer;
}
.cart-row-remove:hover { color: #a71d2a; }

/* Order summary */
.cart-summary { position: sticky; top: 90px; }

.summary-row {
  display: flex;
  justify-content: space-between;
  font-size: 15px;
  color: #495057;
  margin-bottom: 10px;
}
.summary-total {
  font-size: 20px;
  font-weight: 800;
  color: #212529;
}
.summary-total span:last-child { color: #90c14b; }

.summary-note {
  background: #fff8e1;
  border: 1px solid #ffe0a3;
  color: #8a6d3b;
  font-size: 12.5px;
  border-radius: 8px;
  padding: 8px 10px;
  margin: 14px 0;
}

.min-order-warning {
  background: #fdecea;
  border: 1px solid #f5c2c0;
  color: #b02a37;
  font-size: 13px;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 10px;
  margin-bottom: 12px;
}

.cart-btn-primary {
  background: #90c14b;
  color: #fff;
  font-weight: 700;
  border: none;
  border-radius: 8px;
  padding: 12px;
}
.cart-btn-primary:hover { background: #6f9a34; color: #fff; }
.cart-btn-primary:disabled { background: #d7ebc0; cursor: not-allowed; }

.cart-btn-outline {
  background: #fff;
  color: #90c14b;
  font-weight: 600;
  border: 1px solid #90c14b;
  border-radius: 8px;
  padding: 10px;
}
.cart-btn-outline:hover { background: #90c14b; color: #fff; }

/* Delivery form labels */
.cart-card-body .form-label {
  font-size: 13px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 4px;
}
.cart-card-body .form-control { border-radius: 8px; }

/* Empty cart */
.cart-empty {
  background: #fff;
  border-radius: 12px;
  padding: 60px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
}
.cart-empty i {
  font-size: 56px;
  color: #ced4da;
  margin-bottom: 16px;
}
.cart-empty h4 { font-weight: 700; color: #343a40; }
.cart-empty .cart-btn-primary {
  display: inline-block;
  width: auto;
  padding: 10px 28px;
  margin-top: 10px;
}

/* Order success / confirmation */
.order-success {
  background: #fff;
  border-radius: 12px;
  padding: 50px 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  max-width: 640px;
  margin: 0 auto;
}
.order-success-icon {
  font-size: 64px;
  color: #90c14b;
  margin-bottom: 14px;
}
.order-success h3 { font-weight: 800; color: #212529; }
.order-invoice-label {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #6c757d;
  margin-top: 10px;
}
.order-invoice-no {
  font-size: 24px;
  font-weight: 800;
  color: #90c14b;
  letter-spacing: 0.5px;
  margin-bottom: 22px;
}
.order-success-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}
.order-success-actions .cart-btn-primary,
.order-success-actions .cart-btn-outline {
  width: auto;
  display: inline-flex;
  align-items: center;
  padding: 10px 24px;
}

@media (max-width: 575.98px) {
  .cart-row {
    grid-template-columns: 60px 1fr auto;
    grid-template-areas:
      "img info remove"
      "img qty  total";
    row-gap: 8px;
  }
  .cart-row-img { grid-area: img; width: 60px; height: 60px; }
  .cart-row-info { grid-area: info; }
  .cart-qty { grid-area: qty; }
  .cart-row-total { grid-area: total; text-align: right; }
  .cart-row-remove { grid-area: remove; justify-self: end; align-self: start; }
  .cart-page-title { font-size: 22px; }
}

/* Floating WhatsApp "chat with us" button (all pages) */
.whatsapp-fab {
  position: fixed;
  right: 20px;
  bottom: 90px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  z-index: 1050;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.whatsapp-fab:hover {
  color: #fff;
  transform: scale(1.08);
}

/* Our Brand marquee (pure CSS infinite scroll, images duplicated server-side) */
.brand-marquee {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(90deg, transparent, #000 5%, #000 95%, transparent);
}
.brand-marquee-track {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: brand-marquee-scroll 25s linear infinite;
}
.brand-marquee-track img {
  height: 70px;
  width: auto;
  object-fit: contain;
}
@keyframes brand-marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Category Cards (home page) */
.category-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 18px;
}
.category-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border-radius: 12px;
  padding: 14px 8px;
  background: #eaf5dc;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  color: inherit;
}
.category-card img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 10px;
  background: #fff;
}
.category-card .category-card-placeholder {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  margin-bottom: 10px;
  background: #90c14b;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
}
.category-card-title {
  font-size: 14px;
  font-weight: 600;
}

/* Floating "Quick Purchase" button (home page only) */
.quick-purchase-fab {
  position: fixed;
  right: 20px;
  bottom: 165px;
  z-index: 1050;
  transition: transform .15s ease;
}
.quick-purchase-fab:hover {
  transform: scale(1.05);
}
.quick-purchase-fab img {
  width: 150px;
  height: auto;
  display: block;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
  animation: quick-purchase-shake 3.5s ease-in-out infinite;
  transform-origin: 50% 100%;
}

@keyframes quick-purchase-shake {
  0%, 82%, 100% { transform: rotate(0deg); }
  84% { transform: rotate(-9deg); }
  86% { transform: rotate(8deg); }
  88% { transform: rotate(-7deg); }
  90% { transform: rotate(6deg); }
  92% { transform: rotate(-4deg); }
  94% { transform: rotate(3deg); }
  96% { transform: rotate(-2deg); }
  98% { transform: rotate(0deg); }
}

@media (max-width: 575.98px) {
  .quick-purchase-fab img {
    width: 110px;
  }
}