.secondary-product-banner {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

.secondary-product-banner img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}

.products-banner-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* Adjust opacity as needed */
  z-index: 1;
}

.secondary-product-banner .banner-text-wrapper {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
  display: flex;
  justify-content: center;
  pointer-events: none;
  padding: 0 10px;
  z-index: 2;
}

.secondary-product-banner .banner-text {
  max-width: 1200px;
  width: 100%;
  color: white;
  text-align: left;
  text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.7);
  pointer-events: auto;
}

.secondary-product-banner .banner-text h1 {
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0;
}

.secondary-product-banner .banner-text h2 {
  font-size: 1rem;
  margin-top: 0.8em;
}

.bannertext-bold {
  font-weight: 700;
}

.bannertext-normal {
  font-weight: 200;
}

  /* Tablet */
  @media (min-width: 481px) {
    .secondary-product-banner img {
      height: 300px;
    }
  
    .secondary-product-banner .banner-text h1 {
      font-size: 2rem;
    }
  
    .secondary-product-banner .banner-text h2 {
      font-size: 1.2rem;
    }
  }
  
  /* Desktop */
  @media (min-width: 769px) {
    .secondary-product-banner img {
      height: 450px;
    }
  
    .secondary-product-banner .banner-text h1 {
      font-size: 2.8rem;
    }
  
    .secondary-product-banner .banner-text h2 {
      font-size: 1.8rem;
    }
  }
  