.hideTransition {
    transform: translateY(100%);
    opacity: 0;
  }
  
  .hideElement {
    display: none !important;
    opacity: 0;
    transition: opacity 0.5s ease-out;
  }
  
  .showElement {
    display: block !important;
    opacity: 1 !important;
    height: fit-content !important;
  }
  
  .customHeight {
    /* height: 4.6rem; */
  }
  
  .customText {
    position: relative;
    overflow: hidden;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
  }
  
  .customText::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 23px; 
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(238 242 243) 100%);
  }
  
  .colmain {
    background-color: #f0f4f5; 
    margin-top: 15px;
    margin-top: 2px !important;
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 0.5s ease, height 0.5s ease;
  }
  
  .colmain.visibleWithTrsnsition {
    /* display: block !important; */
    opacity: 1;
    max-height: 100rem; 
  }
  
  .upsellHead {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* background: linear-gradient(to bottom, rgba(240, 244, 245, 0.3) 8%, #f0f4f5 20%); */
    /* padding-top: 30px; */
  }
  
  .upsellHead p {
    font-size: 11px;
    font-weight: bold;
    padding: 5px 5px;
    margin: 0;
  }
  
  .upsellHead-child p {
    color: #333333;
    margin-bottom: 1px;
    font-size: 11px;
    line-height: 15px;
    font-weight: normal;
  }
  
  .upsellHead i {
    font-size: 10px;
  }
  
  .upsellHead-images {
    height: 6rem;
      border-bottom:1px solid #3333;
      padding-bottom: 10px;
      position: relative;
      display: flex;
      overflow: hidden;
      width: 100%;
      max-width: 98%;
      position: relative;
      transition: transform 0.5s ease-out, opacity 0.5s ease-out;
  }
  
  .upsellHead-child {
      opacity: 0;
      transition: opacity 0.5s ease-in-out;
      flex: 1;
      display: none;
      animation: 1s fadeIn;
      animation-fill-mode: forwards;
  
  }
  .upsellHead-child.visible {
    opacity: 1;
   display: flex;
   align-items: center;
   justify-content: center;
  }
  
  @keyframes fadeIn {
      0% {
        opacity: 0;
      }
      100% {
        visibility: visible;
        opacity: 1;
      }
    }
    .customizearrow {
      /* display: none; */
      margin-top: 0 !important;
    } 
  
    .upsell-li {
      color: transparent;
    }
    .upsell-li p, .modifier-select{
      color: #333333;
    }
  
    @media (max-width: 768px) {
      .customHeight {
        height: 7rem;
      }
  
      .Upsell-titles {
        width:99%;
      }
    }

    @media (max-width: 1023px) {

      .upsell-badge { 
        font-size: 10px !important;
      }
    }
  
    .fieldModifier-custom-style {
      /* display: flex !important; */
      flex-direction: column; /* Stacks the divs vertically */
      width: fit-content;
    }
  
    .modifier-custom-style {
      width: 100%;
    }

    .align-item-center {
      display: flex;
      align-items: center;
    }

    /* CSS for uposell badge */
    .upsell-badge {
      position: absolute;
      margin-top: 5px;
      background: rgba(255, 255, 255, 0.9);
      border: 1px solid #7a7a7a;
      color: black; 
      padding: 2px 8px;
      font-size: 10px;
      font-weight: 500;
      border-radius: 20px;
      text-rendering: optimizeLegibility;
      backface-visibility: hidden;
      transform: translateZ(0);
      /* box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); */
    }
    
    /* Pulse Animation */
    .upsell-badge.pulse {
      animation: pulse 1.5s infinite;
    }
    
    @keyframes pulse {
      0% { transform: scale(1); opacity: 1;}
      50% { transform: scale(1.02); opacity: 1;}
      100% { transform: scale(1); opacity: 1;}
    }

    .upsellHead-child .upsell-badge {
      margin-top: -6px;
      font-size: 10px;
      padding: 1px 6px;
    }

    .cart-list .row {
      display: flex;
      align-items: center;
    }