Is box-shadow part of box? width of shadow will be included in total width of Block element?
box-shadow
No, width of shadow is not included in the total width of the element.
And even if you specify inset, then the shadow will be inside the element, and in no way can contribute to the total width.