/* Jarinox Elementor — estilos de los widgets propios */

/* Productos (reemplazo de mfn_shop) */
.jxe-products{--jxe-cols:3;display:grid;grid-template-columns:repeat(var(--jxe-cols),minmax(0,1fr));gap:30px;list-style:none;margin:0;padding:0}
.jxe-product{text-align:center}
.jxe-product__img{display:block;border-radius:10px;overflow:hidden;background:#fff}
.jxe-product__img img{display:block;width:100%;height:auto;aspect-ratio:1/1;object-fit:contain;transition:transform .3s}
.jxe-product__img:hover img{transform:scale(1.04)}
.jxe-product__title{margin:14px 0 0;font-size:18px;line-height:1.35}
.jxe-product__title a{color:inherit;text-decoration:none}
@media (max-width:767px){.jxe-products{gap:16px}.jxe-product__title{font-size:14px}}

/* Logos de clientes (reemplazo de elementskit-client-logo). Sin scroll-behavior:smooth: el ajuste
   del snap al cargar contaba como scroll y Chrome anulaba el LCP; el avance suave lo hace el JS. */
.jxe-logos{--jxe-per-view:6;position:relative}
.jxe-logos__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;gap:14px;padding:4px 2px}
.jxe-logos__track::-webkit-scrollbar{display:none}
.jxe-logos__item{flex:0 0 calc((100% - (var(--jxe-per-view) - 1) * 14px) / var(--jxe-per-view));scroll-snap-align:start;display:flex;align-items:center;justify-content:center;min-height:200px;padding:20px;background:#fff;box-shadow:0 2px 10px rgba(0,0,0,.06);transition:background-color .25s}
.jxe-logos__item img{max-width:100%;height:auto;max-height:150px;object-fit:contain;filter:grayscale(1);opacity:.55;transition:filter .25s,opacity .25s}
.jxe-logos__item:hover img{filter:none;opacity:1}
.jxe-logos__arrow{position:absolute;top:50%;transform:translateY(-50%);width:32px;height:32px;border:0;border-radius:50%;background:#0015a094;color:#fff;font-size:16px;line-height:1;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:0;z-index:2}
.jxe-logos__arrow--prev{left:-12px}
.jxe-logos__arrow--next{right:-12px}
@media (max-width:767px){.jxe-logos__item{min-height:120px}.jxe-logos__arrow--prev{left:0}.jxe-logos__arrow--next{right:0}}

/* Proceso de trabajo (reemplazo de htmega-working-process-addons) */
.jxe-process{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;list-style:none;margin:0;padding:0;counter-reset:none}
.jxe-process__item{position:relative;padding:32px 24px;border-radius:14px;background:#f5f6fa;text-align:center}
.jxe-process__num{position:absolute;top:14px;right:18px;font-weight:700;font-size:14px;opacity:.35}
.jxe-process__icon{font-size:47px;line-height:1;margin-bottom:16px;color:var(--e-global-color-primary,#0015a0);display:inline-flex}
.jxe-process__icon svg{width:1em;height:1em}
.jxe-process__media img{width:64px;height:64px;object-fit:cover;border-radius:50%;margin-bottom:16px}
.jxe-process__title{margin:0 0 8px;font-size:22px;line-height:1.3}
.jxe-process__desc{margin:0;font-size:15px;line-height:1.55;opacity:.85}
@media (max-width:1024px){.jxe-process{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media (max-width:600px){.jxe-process{grid-template-columns:1fr}}

/* Menú (reemplazo de nav-menu de Elementor Pro) */
.jxe-nav{--jxe-nav-gap:10px}
.jxe-nav__list{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:var(--jxe-nav-gap)}
.jxe-nav--vertical .jxe-nav__list{flex-direction:column}
.jxe-nav a{display:inline-block;text-decoration:none;transition:color .2s;color:inherit}
.jxe-nav--vertical .jxe-nav__list>li:not(:last-child){margin-bottom:var(--jxe-nav-gap)}
.jxe-nav--vertical .jxe-nav__list{gap:0}
