.catalog-variations {
   opacity: 0;
   transition: opacity $transition-speed;
   text-align: center;
   z-index: 2;
   left: -1px;
   right: -1px;
   margin-top: -5px;
   border-radius: 5px;
   position: absolute;
   padding: 10px 10px;
   bottom: 110px;
   display: flex;

   .catalog-variation {
      color: $text-hover;
      display: flex;
      flex-direction: column;
      line-height: 20px;
      margin: 4px;
      padding: 5px;
      width: 100px;
      max-width: 100%;
      border-radius: 5px;
      background: $white;
      border: 2px solid transparent;
      font-size: 12px;
      align-items: flex-start;
      cursor: pointer;

      input {
         opacity: 0;
         position: absolute;
         z-index: -1;
      }

      .price {
         color: $black;
         font-weight: 600;
         font-size: 13px;
         padding: 0;
      }

      &:hover,
      &:active,
      &:focus {
         border: 2px solid black;
         background: white;
      }
   }

   @media screen and (min-width: $sm - 1) and (max-width: $xl - 1) {
      flex-wrap: wrap;
      width: 100%;

      .catalog-variation {
         width: calc(50% - 8px);
      }
   }

   @media screen and (max-width: $sm - 1) {
      display: none;
   }
}

.products-carousel-wrapper {
   .catalog-variations {
      @media screen and (min-width: $xl - 1) and (max-width: $xxl - 1) {
         flex-wrap: wrap;
         width: 100%;

         .catalog-variation {
            width: calc(50% - 8px);
         }
      }
   }
}
