/* section to fix extra space on PDP page in template */
.space-100 {
  max-height: 1px;
  min-height: 1px;
  overflow: hidden;
  margin: 0 !important;
}
.pdp_accordion a {
  text-decoration: none !important;
  color: #4A96BE !important;
}
.pdp_accordion .accordion-container {
  width: 100%;
  background-color: #ffffff; /* Grey background for the main container */
  /*  padding: 40px 0 20px 0; */ /* Add padding to show grey background between accordions */
  font-family: "Poppins", sans-serif;
  margin-top: 10px;
}
.pdp_accordion .accordion {
  width: 98%; /* Use relative width */
  max-width: 1170px; /* Keep the maximum width for large screens */
  margin: 0 auto 20px auto; /* Center the accordion and add space between each section */
  background-color: #f0f0f0; /* White background for the title */
}

.pdp_accordion .sub-accordions .accordion {
    margin: 0 auto !important;
    background-color: #f0f0f0;
}

/* FAQ accorion padding change */
.pdp_accordion .sub-accordions .accordion-title {
    padding: 0 !important;
}


.pdp_accordion .accordion input[type="checkbox"] {
  display: none;
}
.pdp_accordion .accordion-title {
  display: block;
  width: 100%;
  background-color: #f0f0f0; /* White background for the title */
  cursor: pointer;
  padding: 15px 0;
}
.pdp_accordion .title-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* width: 96%; /* Use full width */
  padding: 0 20px;
}
.pdp_accordion .title-content h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.4;
  font-weight: 500;
}
.pdp_accordion .title-content .arrow {
  font-size: 18px;
  transition: transform 0.3s ease;
}
.pdp_accordion .accordion-content {
  max-height: 0;
  overflow: hidden;
  background-color: #ffffff; /* Grey background for the content */
  transition: max-height 0.3s ease, padding 0.3s ease;
  padding: 0 20px; /* Ensure padding transitions smoothly */
}
.pdp_accordion .content-inner {
  width: 100%; /* Use relative width */
  /*max-width: 1000px;*/ /* Keep the maximum width for large screens */
  margin: 0 auto;
  /* padding: 20px; */
}
.pdp_accordion .accordion-content p {
  font-size: 15px;
  line-height: 1.6;
}
.pdp_accordion .sub-accordions .accordion-content {
  padding: 20px 20px 0 20px !important; /* Add padding when expanded */
}

/* FAQ accordion padding changes */
.pdp_accordion .accordion input[type="checkbox"]:checked + .accordion-title + .accordion-content {
  max-height: none; /* A large enough value to ensure it can expand */
  padding: 20px; /* Add padding when expanded */
}


.pdp_accordion .accordion input[type="checkbox"]:checked + .accordion-title {
  border: 2px solid var(--pdp-accordion-title-open-border-color); /* Correct usage of CSS variable */
  background-color: #f0f0f0;
}
.pdp_accordion .accordion input[type="checkbox"]:checked + .accordion-title .arrow {
  transform: rotate(180deg);
}
.pdp_accordion .side-by-side {
  display: flex;
  gap: 20px; /* Space between the two divs */
}
.pdp_accordion .side-by-side div {
  flex: 1; /* Each div takes up equal space */
}

.pdp_accordion .text-right {
  text-align: right;
}
.pdp_accordion label {
  margin-bottom: 0px !important;
}
.pdp_accordion #certification_icons {
  display: flex;
  justify-content: flex-end;
  width: 98%;
  max-width: 1150px;
  margin: 0 auto 20px auto;
}
.pdp_accordion #certification_icons img {
  /* margin-left: 10px; */ /* Add some space between icons */
  max-width: 76px;
  max-height: 76px;
  width: auto; /* Ensures the aspect ratio is maintained */
  height: auto; /* Ensures the aspect ratio is maintained */
}
.benefits_image, .pdp_sfp, .pdp_bubbles {
  width: 100%; /* Make the image responsive */
  max-width: 400px; /* Keep the maximum width for larger screens */
  height: auto; /* Maintain the aspect ratio */
}
.key_features_image {
  width: 100%; /* Make the image responsive */
  max-width: 1000px; /* Keep the maximum width for larger screens */
  height: auto; /* Maintain the aspect ratio */
}
.featured-section {
  width: 100%;
  padding: 40px 0;
  display: flex;
  justify-content: center;
  /* background-color: #f9f9f9; */ /* Optional: Background color */
}
.featured-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}
.featured-card {
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 10px;
  padding: 20px;
  margin: 10px;
  flex: 1 1 calc(25% - 20px); /* Subtracting margin to make sure the cards fit in a row */
  max-width: calc(25% - 20px); /* Ensures that margins donâ€™t cause wrapping */
  box-sizing: border-box;
  text-align: center;
}
.featured-card img {
  width: 150px;
  height: 150px;
}
.featured-card h5 {
  font-size: 18px;
  margin: 10px;
  min-height: 58px;
}
.featured-card p {
  font-size: 14px;
  color: #666;
  margin: 10px 0;
}
.featured-card .stars {
  color: gold;
  margin-bottom: 10px;
}
.featured-card small {
  font-size: 12px;
  color: #888;
}
.featured-card .btn-shop {
  background-color: #E42828 !important;
  border-color: #E42828 !important;
  width: 170px !important;
  height: 38px !important;
  font-size: 16px !important;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  text-align: center;
  vertical-align: middle;
  user-select: none;
  border: 1px solid transparent;
  padding: .375rem .75rem;
  line-height: 1.5;
  border-radius: .25rem;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}
/* Mobile Responsive Styling */
/* Reset for margin and padding in the parent container to prevent overflow issues */
.featured-section, .featured-container {
  margin: 0;
  padding: 0;
}
/* Fix for the featured-card media query to ensure two cards in a row on tablets */
@media (max-width: 992px) {
  .featured-section .featured-container .featured-card {
    flex: 1 1 45% !important; /* Ensures that two cards show side by side */
    max-width: 45% !important; /* Prevents the fourth card from wrapping */
    margin: 10px !important; /* Maintain spacing between the cards */
  }
}
@media (max-width: 768px) {
	/* Media query to stack side-by-side divs on smaller screens */
  .pdp_accordion .side-by-side {
    flex-direction: column; /* Stack divs vertically */
    gap: 10px; /* Adjust gap between stacked divs */
  }
  .featured-section .featured-container .featured-card {
    flex: 1 1 100% !important; /* Stack them one by one for smaller screens */
    max-width: 100% !important;
  }
}


/* Default image for desktop */
.key_features_image {
  display: block  !important;
}

/* Hide desktop image and show mobile image on smaller screens */
@media (max-width: 768px) {
  .key_features_image {
    display: none !important;
  }

    .key_features_image_mobile {
    display: block !important; /* Ensure the image is visible */
    margin: 0 auto !important; /* Center horizontally */
    width: 100%; /* Make the image fit within the screen */
    height: auto; /* Maintain the aspect ratio */
    max-width: 100vw; /* Ensure it doesnâ€™t exceed the viewport width */
  }

  #section1 .content-inner {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically */
    height: auto; /* Adjust height to fit content */
    padding: 0 10px; /* Optional: Add some padding to avoid touching the edges */
  }
}

/*. Key Features new images with icons for translations  */

.key_features_infographic {
  position: relative;
  max-width: 1100px;
  min-height: 400px; /* or whatever height you want */
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: flex-end; /* Push content to the right */
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.key_features_infographic .info-box {
  padding: 10px;
  max-width: 500px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  color: white;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0); /* transparent or semi-transparent if needed */
}

.key_features_infographic .info-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.key_features_infographic .info-item img {
  width: 80px;
  height: 80px;
}

.key_features_infographic .text h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: white;
}

.key_features_infographic .text p {
  margin: 5px 0 0;
  font-size: 16px;
  font-weight: 500;
  color: white;
  line-height: 20px;
}

/* Fix for UL and LI on PDPs to have the corr3ect left margin  */
ul, li {
	margin: 0 0 0 10px;
}

/* fix margin on short description P's */
.view-item .summary p {
    margin: 10px 0 !important;
}