/* Style for the badge */
.pink-vest-badge {
    position: absolute;
    right: 1px; /* Adjust the right position as needed */
    background-color: #FF007F; /* Change the background color as desired */
    color: white; /* Change the text color as desired */
    padding: 5px 10px; /* Adjust the padding as needed */
    border-radius: 10px; /* Add rounded corners if desired */
    font-size: 12px; /* Adjust the font size as needed */
  }
  .discontinued-vest-badge {
    position: absolute;
    right: 1px;
    /* Adjust the right position as needed */
    background-color: red; /* Change the background color as desired */
    color: white; /* Change the text color as desired */
    padding: 1px 10px; /* Adjust the padding as needed */
    border-radius: 10px; /* Add rounded corners if desired */
    font-size: 10px; /* Adjust the font size as needed */
  }
  .internal-vest-badge {
    position: absolute;
    right: 1px;
    /* Adjust the right position as needed */
    background-color: yellow; /* Change the background color as desired */
    color: black; /* Change the text color as desired */
    padding: 1px 10px; /* Adjust the padding as needed */
    border-radius: 10px; /* Add rounded corners if desired */
    font-size: 10px; /* Adjust the font size as needed */
    font-weight: bold; /* Makes the text bold */
  }
  
  .stock-badge {
    position: absolute;
    right: 1px;
    /* Adjust the right position as needed */
    background-color: #008000; /* Default green color for in-stock */
    color: white; /* Text color */
    padding: 1px 10px; /* Adjust the padding as needed */
    border-radius: 10px; /* Add rounded corners */
    font-size: 10px; /* Adjust the font size as needed */
    font-weight: bold; /* Makes the text bold */
    z-index: 10; /* Ensure it appears above other elements */
    transition: background-color 0.3s ease; /* Smooth transition for color changes */
  }
  .custom-badge {
    position: absolute;
    right: 1px;
    /* Adjust the right position as needed */
    background-color: red; /* Default background color */
    /* Removed hardcoded color to allow for custom text colors */
    padding: 1px 10px; /* Adjust the padding as needed */
    font-size: 10px; /* Adjust the font size as needed */
    border-radius: 10px; /* Add rounded corners for the default rounded square shape */
  }
  .title-with-badge {text-align: left;}

/* Badge Shape Styles */
/* Circle Badge */
.badge-shape-circle {
  border-radius: 50% !important;
  width: 50px;
  height: 50px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 !important;
  overflow: hidden;
}

.badge-shape-circle span {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
  word-break: break-word;
  padding: 5px;
  font-size: 8px !important; /* Smaller font size for better fit */
}

/* Ribbon Badge */

/* Diamond Badge */
.badge-shape-diamond {
  width: 50px;
  height: 50px;
  background-color: red; /* Default color, will be overridden */
  transform: rotate(45deg);
  display: flex !important;
  align-items: center;
  justify-content: center;
  padding: 0 !important;
  overflow: hidden;
}
.badge-shape-diamond span {
  transform: rotate(-45deg);
  text-align: center;
  width: 100%;
  line-height: 1.2;
  word-break: break-word;
  padding: 5px;
  font-size: 8px !important; /* Smaller font size for better fit */
}