@import url("bootstrap.min.css");

/* banner section css start */
.banner {
  background-color: var(--primary);
  margin-bottom: 0;
  padding: 80px 0;
}
.banner h1 {
  color: var(--white);
  margin-bottom: 0;
}

.banner.bg_grey_dark h1 {
  color: var(--primary);
}
.banner h1 span {
  display: block;
  position: relative;
  color: var(--white);
  padding: 20px 0;
  margin-bottom: 20px;
}
.banner h1 span::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 5px;
  background-color: var(--white);
  left: 0;
  bottom: 0;
}
@media (max-width: 1600px) {
  .banner {
    padding: 70px 0;
  }
}
@media (max-width: 991px) {
  .banner {
    padding: 30px 0;
  }
}
@media (max-width: 575px) {
  .banner {
    padding: 20px 0;
  }
}
/* banner section css end */

/* Sections */
section,
.sections {
  padding: 100px 0;
  position: relative;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  z-index: 1;
}
.sections.lg {
  padding: 150px 0;
}
.bg_grey {
  background-color: #f9f7f0;
}
.bg_grey_dark {
  background-color:  #787f84;;
}
.section_title {
  margin-bottom: 30px;
}
.section_title,
.description {
  padding-left: 20px;
  position: relative;
}
.section_title h2 {
  position: relative;
}
.section_title h2:last-child,
.description p:last-child,
.description ul:last-child {
  margin-bottom: 0;
}
.section_title::before,
.description::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 5px;
  height: 100%;
  background-color: #a9aaad;
  border-radius: 10px;
}
.description ul {
  padding-left: 30px;
}
.description ul li {
  list-style: disc;
  color: var(--primary);
  margin: 10px 0;
}
.description ul li p {
  margin-bottom: 0;
  color: var(--black);
  display: inline;
}
.description ul li:last-child {
  margin-bottom: 0;
}
.tb_space {
  margin-top: -15px;
  margin-bottom: -15px;
}
.tb_space > div {
  padding-top: 15px;
  padding-bottom: 15px;
}
@media (max-width: 1600px) {
  .sections {
    padding: 80px 0;
  }
  .sections.lg {
    padding: 120px 0;
  }
}
@media (max-width: 1199px) {
  .sections {
    padding: 70px 0;
  }
  .sections.lg {
    padding: 100px 0;
  }
}
@media (max-width: 991px) {
  .sections {
    padding: 60px 0;
  }
  .sections.lg {
    padding: 80px 0;
  }
  .description ul {
    padding-left: 20px;
  }
  .section_title::before,
  .description::before {
    width: 4px;
  }
}
@media (max-width: 767px) {
  .sections {
    padding: 50px 0;
  }
  .section_title::before,
  .description::before {
    width: 3px;
  }
  .sections.lg {
    padding: 60px 0;
  }
}
@media (max-width: 575px) {
  .sections {
    padding: 40px 0;
  }
  .sections.lg {
    padding: 40px 0;
  }
  .section_title,
  .description ul {
    padding-left: 15px;
  }
  .section_title::before,
  .description::before {
    width: 2px;
  }
}

/* Product Image Section CSS Start */
.product_img_wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}
.product_box {
  border: 2px solid var(--primary);
  height: 400px;
  transition: all 0.25s;
  overflow: hidden;
}
.product_box img {
  width: 100%;
  height: 100%;
  transition: all 0.25s;
}
.product_box:hover {
  border-color: var(--black);
}
.product_box:hover img {
  transform: scale(1.25);
}

@media (max-width: 1600px) {
  .product_img_wrapper {
    gap: 40px;
  }
  .product_box {
    height: 350px;
  }
}
@media (max-width: 1199px) {
  .product_img_wrapper {
    gap: 30px;
  }
  .product_box {
    height: 300px;
  }
}
@media (max-width: 991px) {
  .product_img_wrapper {
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
  }
  .product_box {
    max-height: 300px;
  }
}
@media (max-width: 767px) {
  .product_box {
    max-height: 250px;
  }
}
@media (max-width: 575px) {
  .product_box {
    width: 250px;
    max-width: 100%;
    height: auto;
    max-height: 100%;
  }
}
/* Product Image Section CSS End */

/* indication And Features */
.two_div {
  display: flex;
  align-items: flex-start;
  gap: 30px;
  height: 100%;
}

@media (max-width: 991px) {
  .two_div {
    flex-wrap: wrap;
    gap: 20px;
  }
  .two_div > div {
    width: 100%;
  }
}

/* indication And Features */

/* Product Details Image */
.prod_details_img {
  max-width: 600px;
  width: 100%;
  margin: 0 auto;
}
.prod_details_img img {
  width: 100%;
}
@media (max-width: 1600px) {
  .prod_details_img {
    max-width: 550px;
  }
}
@media (max-width: 1199px) {
  .prod_details_img {
    max-width: 500px;
  }
}
@media (max-width: 991px) {
  .prod_details_img {
    max-width: 450px;
  }
}
@media (max-width: 767px) {
  .prod_details_img {
    max-width: 400px;
  }
}
@media (max-width: 575px) {
  .prod_details_img {
    max-width: unset;
    width: auto;
  }
}
/* Product Details Image */

/* Size and For More */
table tr:nth-child(odd) th {
  background-color: var(--primary);
  color: var(--white);
}
table tr:nth-child(even) th {
  background-color: #e5efc1;
  color: var(--black);
}
table tr:nth-child(odd) td {
  background-color: #ffffff;
}
table tr:nth-child(even) td {
  background-color: #f2f2f2;
}
table tr th,
table tr td {
  border: 5px solid #f9f7f0;
  text-align: center;
  padding: 10px 20px;
}
table tr td {
  color: var(--black);
}
.for_more {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.for_more .description {
  margin-bottom: 0;
  height: 100%;
}

.for_more .description ul li {
  color: var(--black);
  margin-bottom: 50px;
}
.for_more .description ul li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1600px) {
  .for_more .description ul li {
    margin-bottom: 40px;
  }
}
@media (max-width: 1199px) {
  .for_more .description ul li {
    margin-bottom: 30px;
  }
}
@media (max-width: 991px) {
  .for_more {
    margin-top: 30px;
    height: auto;
  }
  table tr th,
  table tr td {
    border: 4px solid #f9f7f0;
    padding: 10px 15px;
  }
  .for_more .description ul li {
    margin-bottom: 20px;
  }
}

@media (max-width: 575px) {
  table tr th,
  table tr td {
    border: 2px solid #f9f7f0;
    padding: 10px 10px;
  }
}
/* Size and For More */

.category-tab,
.subcategory-tab,
.childcategory-tab {
  margin: 0 5px 10px 0;
}
.active-tab {
  background-color: #0d6efd;
  color: white;
}
.product-card:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

body {
  font-family: Arial, sans-serif;
  padding: 20px;
}
.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.tab {
  padding: 10px 15px;
  background: #eee;
  cursor: pointer;
  border-radius: 5px;
}
.tab.active {
  background: #787f84;
  color: #080808;
  background-color: #b5d348;
  font: bold;
}
.tab-content {
  display: none;
  margin-top: 15px;
}
.tab-content.active {
  display: block;
  
}
.product-grid {
  display: flex;
  flex-wrap: wrap;
  /* gap: 20px;
  margin-top: 15px; */
  justify-content: center;   /* <-- centers all the .product items -- added on 26-apr-25 2:00 AM */ 
  gap: 2rem;                  /* space between cards */
  margin: 0 auto; 
  align-items: stretch;
}
.product {
  /* border: 1px solid #ccc;
  padding: 10px;
  border-radius: 10px;
  width: 200px;
  text-align: center; */
  width: 250px; /* fixed width for all cards */
  height: 350px; /* fixed height for uniformity */
  display: flex;
  flex-direction: column;
  justify-content: space-between; /* image stays top, text at bottom */
  align-items: center;
  border: 1px solid #d3d3d3; /* light grey border */
  /* border-radius: 4px; */
  overflow: hidden;
  background: white;
  transition: transform 0.3s ease;
}

.product:hover {
  transform: translateY(-5px); /* optional hover effect */
}

.product img {
  width: 100%;
  height: auto;
  /* border-radius: 5px; */
  padding: 1rem;
  background-color: white;
  object-fit: contain;
}

.product-footer {
  width: 100%;
  background-color: #b5d348; /* light green footer */
  padding: 0.75rem 0.5rem;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 0.95rem;
  line-height: 1.4;
}


/* Added on 26-apr-25 1:15AM */
/* give each product description a light grey background */
.product p {
  background-color: #787f84;  /* your “light grey” */
  padding: 0.5rem;
  /* margin-top: 0.75rem; */
  
  color:  #f5f5f5;             /* general grey text */
  font-size: 1rem;
  line-height: 1.5;
  /* background-color: white; */
  text-align: center;
  font-weight: 600;
  margin-bottom: 0px;
}
.subcategory-list {
  display: flex;
  justify-content: center;    /* center the whole row */
  align-items: center;
  gap: 1.5rem;                /* space between items */
  margin: 2rem 0;             /* vertical spacing around the row */
}

.subcategory {
  position: relative;         /* for the bullet */
  padding-left: 1rem;         /* room for bullet */
  cursor: pointer;
}

/* common bullet for every item */
.subcategory::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  color: #787f84;             /* same grey as inactive text */
  font-size: 1rem;
}

/* inactive tabs */
.subcategory:not(.active) {
  color: #787f84;             /* grey text */
  font-size: 0.875rem;        /* smaller font */
  font-weight: normal;
}

/* active tab */
.subcategory.active {
  color: #000;                /* black text */
  font-size: 1.125rem;        /* larger font */
  font-weight: bold;
}

.subcategory.active::before {
  color: #000;                /* bullet matches active text */
}


.subcategory-buttons {
  display: flex;
  justify-content: center;    /* center the whole row */
  align-items: center;
  gap: 1.5rem;                /* space between items */
  margin: 2rem 0; 
}

.subcategory-new {
  background-color: #a9aaab; /* Grey background for unselected */
  color: white;
  padding: 0.5rem 1rem;
  /* border-radius: 2px; */
  font-weight: bold;
  font-size: 0.95rem;
  text-transform: uppercase;
  cursor: pointer;
}

.subcategory-new.selected {
  background-color: #b5d348; /* Green background for selected */
  color: #000; /* Black text on selected */
}


/* .category-container {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  text-align: center;
} */

.main-category {
  display: flex;
  justify-content: center; /* Center the tabs */
  gap: 2rem;
  position: relative;
}

.category {
  font-size: 1.2rem;
  cursor: pointer;
  color: black;
  font-weight: normal;
  position: relative;
  padding: 0.5rem;
}

.category.active {
  font-weight: bold;
}

.underline {
  width: 100%;
  height: 2px;
  background: #ccc;
  margin-top: 0px;
  margin-bottom: 0;
  position: relative;
  top: -8px;
}

.category.active::after {
  content: '';
  display: block;
  width: 90px;
  height: 2px;
  background-color: #b5d348;
  margin: 8px auto 0;
  border-radius: 2px;
  z-index: 100;
}

.category-box-new {
  background: #fff;
  padding: 1rem 1rem;

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2); /* Heavy shadow */
  max-width: 1100px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
  height: 100%;
  margin-top: -3rem;
}