
            
            .price-free-label {
  font-weight: 550;
  padding: 3px 12px;
  display: inline-block;
  border-radius: 5px;
  background: transparent;
    color: linear-gradient(90deg, black, gray);
  
              margin-left: -10px;
  font-size: var(--font-size, 15px);
}

              .first-image {
                                    transition: transform 0.5s ease, opacity 0.5s ease;
                border-radius: 1px !important;
                                      aspect-ratio: var(--aspect-ratio, 3/4);
                  }
                                /* Ensure the parent has relative positioning and hidden overflow */
                                .product__media {
                                  position: relative;
                                  overflow: hidden; /* Prevent image overflow when scaling */
                                }

                                
                                  /* Style the primary image with transition */
                                  .first-image {
                                    transition: transform 0.5s ease, opacity 0.5s ease;
                                      aspect-ratio: var(--aspect-ratio, 3/4);
                                  }

                                  /* Subtle zoom-in on hover */
                                  .product__media:hover .first-image {
                                    transform: scale(1.02);
                                     aspect-ratio: var(--aspect-ratio, 3/4);
                                    opacity: 0.9; /* Slight opacity change for depth */
                                  }

                                  /* Style the secondary image */
                                  .secondary-image {
                                    position: absolute;
                                    top: 0;
                                    left: 0;
                                    transition: opacity 0.3s ease-in-out, transform 1.4s ease-in-out; /* Separate timings */
                                    width: 100%;
                                    height: 100%;
                                     aspect-ratio: var(--aspect-ratio, 3/4);
                                    opacity: 0;
                                    transform: scale(1);
                                  }

                                  .product__media.show_secondary:hover .secondary-image {
                                    opacity: 1;
                                    
                                      transform: scale(1.06); /* Zoom effect enabled */
                                    
                                  }

                                  /* Hide primary image smoothly when secondary image is shown */
                                  .product__media.show_secondary:hover .first-image {
                                    opacity: 0.8;
                                    transform: scale(1);
                                  }
                                

                                /* Ensure smooth fade transitions */
                                .product-item__wrapper {
                                  position: relative;
                                  overflow: hidden;
                                }

                                

                                
                                  /* Fade-In-Up Effect */
                                  .product-item__wrapper {
                                    padding-top: 5px; /* Adds subtle spacing to prevent overlap */
                                    transition: transform 0.3s ease-in-out, opacity 0.3s ease-in-out;
                                  }

                                  .product-item__wrapper:hover {
                                    transform: translateY(-4px);
                                    opacity: 0.9;
                                  }
                                

                                /* Add to Cart Button on Hover Styles */
                                .add-to-cart-hover-button {
                                  position: absolute;
                                  bottom: 27px;
                                  left: 50%;
                                   border-radius: 5px;
                        background-color: #2d2d2d;
                        color: #f5f5f5;
                        font-size: 13px;
                        font-weight: bold;
                                  transform: translateX(-50%) translateY(0);
                                  opacity: 0;
                                  transition: opacity 0.42s ease, transform 0.42s ease,
                                              background-color 0.3s ease, color 0.3s ease;
                                  /* Use the new settings here */

                                  border: none;
                                  padding: 10px 10px;
                                  cursor: pointer;
                                  min-width: 40% !important;
                                  max-width: 75% !important;
                                  font-size: 15px;

                                  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
                                  z-index: 10; /* Ensure it appears above other elements */
                                }

                                .product__media:hover .add-to-cart-hover-button {
                                  opacity: 1;
                                  transform: translateX(-50%) translateY(-5px); /* Slight upward movement on hover */
                                }

                                /* Hover background color from new setting for Add to Cart */
                                .add-to-cart-hover-button:hover {
                                  background-color: #ffffff;
                        color: #151515;
                        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                                }

                                /* New: Select Options Button custom styles */
                                .product-item__select-options {
                                  transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
                                }
                                .product-item__select-options:hover {
                                  background-color: ;
                                  color: ;
                                  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
                                }

                                /* The NEW badge style */
                                .new-badge {
                                  font-size: 11px;
                                  position: absolute; /* Keeps it positioned within its parent container */
                                  align-items: center;
                                  max-width: 69px;
                                  min-width: 58px;
                                  text-align: center;
                                  justify-content: center;
                                  font-weight: 600;
                                }

                                /* Desktop Badge Visibility */
                                .new-badge-desktop {
                                  max-width: 69px;
                                  min-width: 58px;
                                  text-align: center;
                                  justify-content: center;
                                  display: block;
                                }
                                @media (max-width: 1024px) {
                                  .new-badge-desktop {
                                    display: none;
                                  }

                                  .add-to-cart-hover-button {
                                    min-width: 60% !important;
                                    padding: 8px 10px;
                                    max-width: 70% !important;
                                  }
                                }

                                /* Mobile Badge Visibility */
                                .new-badge-mobile {
                                  display: none;
                                  top: 5px; /* Moves it further up on mobile */
                                }
                                @media (max-width: 1024px) {
                                  .new-badge-mobile {
                                    display: block;
                                  }
                                  .add-to-cart-hover-button {
                                    width: 80% !important;
                                    font-size: 14px;
                                    padding: 8px 10px;
                                    font-size: 13px;
                                  }
                                }

                                /* Make the add-to-cart-hover-button more mobile-friendly */
                                @media (max-width: 767px) {


                                 .add-to-cart-hover-button {
                    position: absolute;
                    bottom: 20px; /* Adjusted for mobile */
                    left: 50%;
                    border-radius: 5px;
                    background-color: #2d2d2d;
                    color: #f5f5f5;
                    font-size: 13px; /* Default mobile font size */
                    font-weight: bold;
                    transform: translateX(-50%);
                    opacity: 0;
                    transition: opacity 0.42s ease, transform 0.42s ease, background-color 0.3s ease, color 0.3s ease;

                    border: none;
                    padding: 10px 12px;
                    cursor: pointer;
                    min-width: 60% !important; /* Ensures the button has enough space */
                    max-width: 80% !important;
                    white-space: nowrap; /* Prevents text from wrapping */
                    overflow: hidden;
                    text-overflow: ellipsis; /* Adds "..." if text is too long */

                    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
                    z-index: 10; /* Ensures it appears above other elements */
                }
            }


                            }

                                  .new-badge {
                                    top: 5px; /* Moves it further up on mobile */
                                    text-align: center;
                                       }
                                       .add-to-cart-hover-button {
                          font-size: 13px;
                                  }
                                }
          