I'm trying to apply a shadow to a longtabu environment (because I want the table expands to fit the available width), similar to this table (CSS):

But, for my sample LaTeX table, between the shadow and the table, there's some border and padding and I don't know how to remove it:

\documentclass[11pt]{article}

\usepackage[spanish]{babel}
\usepackage[utf8]{inputenc}
\usepackage[usenames,dvipsnames,svgnames,table]{xcolor}
\usepackage{geometry}
\usepackage{tabularx}
\usepackage{colortbl}
\usepackage[skins]{tcolorbox}
\usepackage{tabu}
\usepackage{longtable}

\definecolor{lightgray}{RGB}{180, 180, 180}

\geometry{
a4paper,
margin=1cm,
top=1.3cm,
}

\begin{document}

\begin{longtabu} to \textwidth {cXc}
\rowcolor{Maroon}
Imagen & Producto & Total\\
\rowcolor{lightgray}
A & B & C
\end{longtabu}
\end{tcolorbox}

\end{document}


In short, I want to remove the borders, to center the shadow, and to remove the padding between the shadow and the table, preferably with using standard packages or environments, but using custom commands is also fine.

• Please provide a compilable document code, not just fragments – user31729 Jan 31 '17 at 0:04
• The longtabu is not necessary here – user31729 Jan 31 '17 at 0:10
• @ChristianHupfer But it must be a "longtable" environment, because the table could span more than one page when images add added to the table in the first column. – Peregring-lk Jan 31 '17 at 0:15
• No, even in tcolorbox with breakable, the longtabu won't break any longer! – user31729 Jan 31 '17 at 0:16

The solution was to put the table inside a TiKz node:

\begin{tikzpicture}
`