@import '~moda-themes';

.shopping-bag-component {
  padding: 18px 0;

  &.in-shopping-bag {
    cursor: default !important;

    &:hover {
      color: color('black') !important;
    }
  }

  @media screen and (max-width: 992px) {
    padding: 0;
  }

  .mo-web-shopping-bag {
    font-size: 12px;
    text-decoration: none;

    &__icon {
      display: inline-block;
      vertical-align: -4px;
      margin-right: space(1);

      .markdown-notification {
        display: inline-block;
        position: relative;

        &::after {
          content: '';
          background-color: color('fuchsia');
          display: block;
          top: 25%;
          right: -5%;
          position: absolute;
          z-index: 1000;
          width: 0.5rem;
          height: 0.5rem;
          border: 1px solid white;
          border-radius: 50%;
        }

      }
    }

    &.in-shopping-bag {
      cursor: default !important;

      &:hover {
        color: color('black') !important;
      }
    }

    @media screen and (max-width: 992px) {
      font-size: 11px;
    }
  }
}

.cart-item {
  [data-item-moved='true'] {
    opacity: 0.25;
  }

  .confirmation-message-wrapper {
    text-align: center;
    z-index: 999;
    width: 25em;
    position: absolute;
    left: 50%;
    top: 40%;
    transform: translate(-50%, -20%);

    .confirmation-message {
      border: 1px solid color('cashmere');
      padding: 10px 20px;
      background-color: color('white');
    }
  }
  position: relative;
  border-top: 1px solid color('noise');
  color: color('cement');
  white-space: normal;
}
