.helpful-product_card_container {
  display: flex;
  flex-direction: row;
  gap: 24px;
/*   margin-left: 40px; */
/*   margin: 0px; */
  align-items: center;
}

.helpful-product-carousel-wrapper {
  padding-top: 40px;
  display: flex;
  align-items: center;
  justify-content: center; /* Center the carousel content */
  overflow: hidden; /* Prevent overflow of cards */
}

.helpful-product-carousel-heading-with-text {
  text-align: center;
  margin-bottom: 20px;
}

.helpful-product-carousel-heading p {
  font-family: Montserrat;
  font-size: 40px;
  font-weight: 700;
  line-height: 48px;
  text-align: center;
}

.helpful-mobile-link-container {
  text-align: center;
  margin-top: 20px;
  display: none;
}

.arrow-button:hover {
  cursor: pointer;
  text-decoration: none;
}

.arrow-button.left--arrow {
  /*
  margin-right: 10px;
  position: absolute;
  top: 50%; /* Center vertically */
  /*
  transform: translateY(-50%); /* Adjust for the arrow's height */
  /*
  left: 10px; /* Adjust as needed */
  /*
  opacity: 0;
  */
}

.arrow-button.right--arrow {
  /*
  position: absolute;
  top: 50%; /* Center vertically */
  /*
  transform: translateY(-50%); /* Adjust for the arrow's height */
  /*
  right: 10px; /* Adjust as needed */
  */
}

.arrow-button img {
  height: 40px;
  width: auto;
}

.helpful-product-card-textbox {
  height: 96px;
  display: table;
  padding-left: 20px;
  padding-right: 20px;
}
.helpful-product-card-text {
  text-align: center;
  display: table-cell;
  vertical-align: middle;
  overflow: hidden;
  font-family: 'montserrat', sans-serif;
  line-height: 1.5;
  font-size: 16px;
  font-weight: 600;
  align-items: unset;
}

.helpful-product-carousel-container {
  position: relative;
  align-items: center;
  overflow: hidden;
}

#helpful-carousel-wrapper {
  padding-left: 4px;
  padding-bottom: 4px;
  overflow: hidden;
  display: flex;
  width: 260px;
}

#helpful-carousel-container {
   display: flex;
   gap: 24px;
}

.helpful-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
  box-shadow: 0px 4px 4px 0px #00000040;
  height: 300px;
  border-radius: 10px;
  background-color: #F7F7F7;
  overflow: hidden;
  transition: transform 0.3s ease-in-out;
  text-decoration: none;
  color: inherit;
  padding: 0; /* Removed padding from card */
  width: 400px !important;
}

.helpful-card:hover {
  transform: scale(1.05);
  text-decoration: none;
  color: #343433;
}

.helpful-product-carousel {
  display: flex;
  gap: 50px;
  margin: 0;
  justify-content: center;
  align-items: center; /* Ensures the carousel items are centered */
  position: relative;
}

.helpful-product-carousel.sliding-transition {
  transition: transform 0.5s ease-in-out;
}

.helpful-product-carousel-image {
  width: 400px;
  height: 279px; 
  object-fit: contain;
  background-color: black; 
}

@media screen and (max-width: 550px) {
  .helpful-card {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 250px !important;
    height: auto;
  }

  .helpful-product-card-text {
    max-width: 100%;
  }
  .helpful-product-card-text p {
    padding: 8px;
  }
  .helpful-product-carousel-heading-with-text {
    padding: 1em;
  }
  .helpful-product-carousel-heading-with-text p {
    font-size: 30px;
  }
  .helpful-product-carousel {
    display: flex;
    gap: 16px;
    align-items: center;
  }
/*   .mobile-link-container {
    display: block;
  }
  .mobile-view-link {
    display: inline-block;
    padding: 10px;
    color: #15809E;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    line-height: 21px;
  } */
  .helpful-product-carousel-wrapper {
    width: 99%;
  }
  .arrow-button.right--arrow,
  .arrow-button.left--arrow {
    align-self: center; /* Align the arrow to the center on mobile */
    margin-left: 0; /* Remove the left margin */
    display: block; /* Show arrows on mobile */
  }
  .right--arrow img.mobile {
  display: block;
}

/* Right arrow image for desktop view */
.right--arrow img.desktop {
  display: none;
}
}

@media only screen and (max-width: 600px) {
  .helpful-product-carousel-heading-with-text {
    padding-bottom: 0;
    margin-bottom: 0;
  }
  
  .helpful-card {
    width: 250px !important;
    max-width: 320px;
    height: 190px;
  }
  
  .helpful-product-carousel-image {
    width: 250px; 
  }
  
  .left--arrow {
    left: 1px !important; 
  }
  
  .right--arrow {
    right: 1px !important;
  }
  
  .helpful-product-carousel-heading p {
    font-family: Montserrat;
    font-size: 24px;
    font-weight: 600;
    line-height: 28.8px;
    text-align: center;
    letter-spacing: 0;
}
  
  .helpful-product-carousel-wrapper {
    padding-top: 0; 
  }
}

@media only screen and (min-width: 600px) {
  
   #helpful-carousel-wrapper {
    width: 410px;
  }
}

@media only screen and (min-width: 1050px) {
   #helpful-carousel-wrapper {
    width: 860px; 
     padding: 16px;
  }
}

@media only screen and (min-width: 1440px) {
   #helpful-carousel-wrapper {
    width: 1280px;  
  }
}