/* =========================================================================
   Páginas de catálogo en Elementor (estilo LAUNCH). Ver includes/class-catalog-style.php.
   Elementor pinta cada elemento con reglas propias, por eso se usa body + !important donde hace falta.
   ========================================================================= */
.lsm-hero, .lsm-sec, .lsm-cat-grid, .lsm-cat-feat, .lsm-cat-ai {
    --lsm-red: #e60012; --lsm-red2: #b8000f; --lsm-black: #0d0e10; --lsm-steel: #5c6574; --lsm-line: #edeff3;
    --lsm-soft: 0 1px 2px rgba(13,14,16,.05), 0 8px 24px rgba(13,14,16,.07);
    --lsm-lift: 0 2px 4px rgba(13,14,16,.06), 0 18px 40px rgba(13,14,16,.14);
    --lsm-ease: cubic-bezier(.2,.8,.2,1);
    --lsm-disp: "Saira Condensed", "Barlow Semi Condensed", sans-serif;
    --lsm-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

/* ---------- encabezado ---------- */
body .e-con.lsm-hero { position: relative; overflow: hidden; isolation: isolate; background: #0d0e10 !important; border-radius: 18px;
    width: calc(100% - 48px); max-width: none; margin: 20px auto 0; padding: 0; min-height: 420px; align-items: center; gap: 0; flex-direction: row; }
.lsm-hero::before { content: ""; position: absolute; z-index: -1; right: -4%; top: -40%; width: 50%; height: 190%; background: linear-gradient(180deg, #e60012, #7d0009 70%, transparent); transform: skewX(-28deg); }
.lsm-hero::after { content: ""; position: absolute; z-index: -1; right: 36%; top: -40%; width: 6%; height: 190%; background: rgba(255,255,255,.05); transform: skewX(-28deg); }
body .e-con.lsm-hero-copy { flex: 1 1 46%; width: auto; padding: 48px 20px 48px 48px; gap: 0; align-items: flex-start; }
body .e-con.lsm-hero-star, body .elementor-widget.lsm-hero-star { flex: 1 1 54%; width: auto; padding: 28px 40px; }
.lsm-hero-star img { width: 100%; max-height: 380px; object-fit: contain; border-radius: 18px; box-shadow: 0 24px 40px rgba(0,0,0,.4); transition: transform .6s var(--lsm-ease); }
.lsm-hero:hover .lsm-hero-star img { transform: scale(1.02); }
/* clases de equipos del encabezado (sin foto de producto) */
body .e-con.lsm-hero-types { flex: 1 1 54%; width: auto; padding: 28px 40px 28px 20px; gap: 12px; align-items: stretch; justify-content: center; flex-direction: column; }
body .e-con.lsm-hero-type { gap: 4px; padding: 16px 20px !important; background: rgba(255,255,255,.08) !important; border: 1px solid rgba(255,255,255,.16) !important; border-radius: 14px !important;
    -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); transition: background-color .25s var(--lsm-ease), transform .25s var(--lsm-ease); }
body .e-con.lsm-hero-type:hover { background: rgba(255,255,255,.14) !important; transform: translateX(-4px); }
body .lsm-hero-type .elementor-widget { width: 100%; margin: 0 !important; }
body .lsm-hero-type .elementor-heading-title { margin: 0; padding-left: 12px; border-left: 4px solid var(--lsm-red); font: 800 24px/1.1 var(--lsm-disp); text-transform: uppercase; color: #fff; }
body .lsm-hero-type .elementor-widget-text-editor, body .lsm-hero-type .elementor-widget-text-editor p { margin: 0; padding-left: 16px; color: #c9ccd3; font: 400 15.5px/1.45 Barlow, "Helvetica Neue", Arial, sans-serif; }
body .e-con.lsm-sec { scroll-margin-top: 130px; }
body .lsm-label .elementor-heading-title { margin: 0 0 12px; font: 600 13px/1 var(--lsm-mono); letter-spacing: .14em; text-transform: uppercase; color: rgba(255,255,255,.78); }
body .lsm-h1 .elementor-heading-title { margin: 0; color: #fff; font: 800 clamp(38px, 5vw, 64px)/1 var(--lsm-disp); text-transform: uppercase; text-wrap: balance; }
body .lsm-lead, body .lsm-lead p { margin: 12px 0 0; max-width: 42ch; color: #c9ccd3; font: 400 18px/1.5 Barlow, "Helvetica Neue", Arial, sans-serif; }
body .lsm-cta .elementor-button { margin-top: 22px; background: var(--lsm-red); color: #fff; border-radius: 12px; padding: 13px 20px; font: 600 16px/1 Barlow, sans-serif; transition: background-color .15s, transform .25s var(--lsm-ease); }
body .lsm-cta .elementor-button:hover { background: var(--lsm-red2); transform: translateY(-2px); }

/* ---------- títulos de sección ---------- */
body .e-con.lsm-sec { width: calc(100% - 48px); max-width: none; margin: 30px auto 0; padding: 0; }
body .lsm-sec .elementor-heading-title { margin: 0; padding-left: 14px; border-left: 5px solid var(--lsm-red); font: 800 28px/1.1 var(--lsm-disp); text-transform: uppercase; color: var(--lsm-black); }

/* ---------- rejillas ---------- */
body .e-con.lsm-cat-grid { width: calc(100% - 48px); max-width: none; margin: 14px auto 0; padding: 0 !important; --gap: 16px; --row-gap: 16px; --column-gap: 16px; gap: 16px; }
body .e-con.lsm-cat-feat, body .e-con.lsm-cat-feat::before { background: none !important; box-shadow: none !important; }
body .e-con.lsm-cat-feat { width: calc(100% - 48px); max-width: none; margin: 14px auto 0; padding: 0 !important; min-height: 0; }
body .lsm-cat-feat > .e-con-inner { max-width: none; width: 100%; padding: 0; gap: 16px; flex-direction: row; align-items: stretch; }
body .lsm-cat-feat > .e-con-inner > .lsm-cat-ai { flex: 1 1 34%; width: auto; min-height: 0; }
body .lsm-cat-feat > .e-con-inner > .lsm-cat-grid { flex: 1 1 66%; width: auto; margin: 0; min-height: 0; }
body .lsm-cat-feat .lsm-cat-grid > .e-con { height: auto; min-height: 0; }
/* con una sola tarjeta destacada, la fila se reparte mitad y mitad; con dos vuelve sola a 1/3 y 2/3 */
body .lsm-cat-feat .lsm-cat-grid:has(> .e-con:only-child) { grid-template-columns: 1fr !important; }
body .lsm-cat-feat > .e-con-inner:has(.lsm-cat-grid > .e-con:only-child) > .lsm-cat-ai { flex-basis: 50%; }
body .lsm-cat-feat > .e-con-inner:has(.lsm-cat-grid > .e-con:only-child) > .lsm-cat-grid { flex-basis: 50%; }

/* ---------- tarjeta (cada hijo de una rejilla) ---------- */
body .lsm-cat-grid > .e-con { position: relative; display: flex; flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 0 !important;
    padding: 0 0 12px !important; background: #fff !important; border: 0 !important; border-radius: 16px !important; box-shadow: var(--lsm-soft) !important;
    overflow: hidden; transition: transform .28s var(--lsm-ease), box-shadow .28s var(--lsm-ease); }
body .lsm-cat-grid > .e-con:hover { transform: translateY(-4px); box-shadow: var(--lsm-lift) !important; }
.lsm-cat-grid > .e-con .elementor-widget { position: static; width: 100%; max-width: none; margin: 0 !important; }
.lsm-cat-grid > .e-con .elementor-widget-image { padding: 14px 14px 10px; overflow: hidden; }
.lsm-cat-grid > .e-con .elementor-widget-image img { display: block; width: 100%; height: 168px; object-fit: contain; transition: transform .4s var(--lsm-ease); }
.lsm-cat-grid > .e-con:hover .elementor-widget-image img { transform: scale(1.05); }
body .lsm-cat-grid > .e-con .elementor-widget-heading .elementor-widget-container { padding: 0 !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body .lsm-cat-grid > .e-con .elementor-widget-heading .elementor-heading-title { margin: 0; padding: 12px 14px; background: #e60012; border: 0; box-shadow: none; text-align: center;
    font: 700 23px/1.1 var(--lsm-disp); letter-spacing: .02em; text-transform: uppercase; color: #fff; transition: background-color .2s; }
body .lsm-cat-grid > .e-con:hover .elementor-widget-heading .elementor-heading-title { background: #b8000f; }
.lsm-cat-grid > .e-con .elementor-heading-title a { color: inherit; }
.lsm-cat-grid > .e-con .elementor-heading-title a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.lsm-cat-grid > .e-con .elementor-widget-icon-list { padding: 8px 18px 0; }
.lsm-cat-grid > .e-con .elementor-icon-list-items { align-items: stretch; }
.lsm-cat-grid > .e-con .elementor-icon-list-item { justify-content: flex-start !important; padding: 7px 0 !important; border-top: 1px solid var(--lsm-line); font: 400 15px/1.3 Barlow, sans-serif; color: #1e232d; }
.lsm-cat-grid > .e-con .elementor-icon-list-item:first-child { border-top: 0; }
.lsm-cat-grid > .e-con .elementor-icon-list-icon { width: 22px !important; flex: none; color: var(--lsm-red); font-size: 14px; }
.lsm-cat-grid > .e-con .elementor-icon-list-icon i, .lsm-cat-grid > .e-con .elementor-icon-list-icon svg { color: var(--lsm-red); fill: var(--lsm-red); font-size: 14px; width: 14px; }
.lsm-cat-grid > .e-con .elementor-icon-list-text { flex: 1; text-align: left !important; color: #1e232d !important; padding-left: 0 !important; }
/* la insignia va en el widget de imagen: el ::before del contenedor lo usa Elementor para el fondo */
.lsm-cat-grid > .lsm-new .elementor-widget-image::before { content: "NUEVO"; position: absolute; top: 12px; left: 12px; z-index: 3; background: var(--lsm-black); color: #fff; border-radius: 999px; padding: 4px 11px; font: 600 11px/1 var(--lsm-mono); letter-spacing: .1em; }

/* ---------- tarjeta de Launch AI ---------- */
body .e-con.lsm-cat-ai { background: #fff !important; border-radius: 16px !important; box-shadow: var(--lsm-soft) !important; border: 0 !important; padding: 22px !important; align-items: center; justify-content: center; text-align: center; }
.lsm-cat-ai .elementor-widget-text-editor, .lsm-cat-ai .elementor-widget-text-editor p { color: var(--lsm-steel) !important; font: 400 16px/1.5 Barlow, sans-serif; }

@media (max-width: 1100px) {
    body .e-con.lsm-hero { flex-direction: column; align-items: stretch; }
    body .e-con.lsm-hero-copy { padding: 36px 28px 0; }
    body .e-con.lsm-hero-star, body .elementor-widget.lsm-hero-star { padding: 10px 28px 28px; }
    body .e-con.lsm-hero-types { padding: 24px 28px 28px; }
    .lsm-hero::before { width: 70%; }
}
@media (max-width: 760px) {
    body .e-con.lsm-hero, body .e-con.lsm-sec, body .e-con.lsm-cat-grid { width: calc(100% - 28px); }
    body .e-con.lsm-hero { border-radius: 16px; min-height: 0; }
    body .e-con.lsm-hero-copy { padding: 28px 20px 0; }
    body .e-con.lsm-hero-types { padding: 20px 14px 18px; gap: 10px; }
    body .e-con.lsm-hero-type { padding: 13px 16px !important; }
    body .lsm-hero-type .elementor-heading-title { font-size: 20px; }
    body .lsm-hero-type .elementor-widget-text-editor, body .lsm-hero-type .elementor-widget-text-editor p { font-size: 14.5px; }
    body .e-con.lsm-cat-feat { width: calc(100% - 28px); }
    body .lsm-cat-feat > .e-con-inner { flex-direction: column; }
    body .lsm-lead, body .lsm-lead p { font-size: 16px; }
    /* tarjetas más compactas: en celular van de a dos */
    body .lsm-cat-grid > .e-con { border-radius: 14px !important; }
    body .lsm-cat-grid > .e-con .elementor-widget-heading .elementor-heading-title { padding: 9px 8px; font-size: 17px; letter-spacing: .01em; }
    .lsm-cat-grid > .e-con .elementor-widget-image { padding: 10px 10px 8px; }
    .lsm-cat-grid > .e-con .elementor-widget-image img { height: 110px; }
    .lsm-cat-grid > .e-con .elementor-widget-icon-list { padding: 6px 12px 0; }
    .lsm-cat-grid > .e-con .elementor-icon-list-item { padding: 5px 0 !important; font-size: 13.5px; }
    .lsm-cat-grid > .e-con .elementor-icon-list-icon, .lsm-cat-grid > .e-con .elementor-icon-list-icon i { font-size: 12px; }
    .lsm-cat-grid > .e-con .elementor-icon-list-icon { width: 20px !important; }
    .lsm-cat-grid > .lsm-new .elementor-widget-image::before { top: 8px; left: 8px; padding: 3px 9px; font-size: 10px; }
}
@media (max-width: 380px) {
    body .lsm-cat-grid > .e-con .elementor-widget-heading .elementor-heading-title { font-size: 15.5px; }
}
@media (prefers-reduced-motion: reduce) {
    .lsm-hero *, .lsm-cat-grid > .e-con, .lsm-cat-grid > .e-con * { transition: none !important; }
}

/* =========================================================================
   Pie de página (plantilla "Main Footer" de Elementor, clases lsm-foot*)
   ========================================================================= */
.lsm-foot { --lsm-red: #e60012; --lsm-red2: #b8000f; --lsm-ease: cubic-bezier(.2,.8,.2,1); --lsm-disp: "Saira Condensed", "Barlow Semi Condensed", sans-serif; --lsm-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace; }
body .e-con.lsm-foot { position: relative; overflow: hidden; isolation: isolate; width: 100%; max-width: none; padding: 0; gap: 0; background: #0d0e10 !important; border-top: 4px solid var(--lsm-red); color: #c9ccd3; }
.lsm-foot::before { content: ""; position: absolute; z-index: -1; right: -6%; top: -30%; width: 34%; height: 170%; background: linear-gradient(180deg, rgba(230,0,18,.32), transparent 72%); transform: skewX(-28deg); }
.lsm-foot::after { content: ""; position: absolute; z-index: -1; right: 24%; top: -30%; width: 5%; height: 170%; background: rgba(255,255,255,.04); transform: skewX(-28deg); }
body .e-con.lsm-foot-main { width: 100%; max-width: 1500px; margin: 0 auto; padding: 56px 28px 40px; gap: 48px; flex-direction: row; align-items: flex-start; }
body .e-con.lsm-foot-col { flex: 1 1 0; width: auto; min-width: 0; padding: 0; gap: 0; align-items: flex-start; }
body .e-con.lsm-foot-brand { flex: 1.3 1 0; gap: 18px; }
.lsm-foot-brand img { width: 168px; height: auto; display: block; }
body .lsm-foot-brand .elementor-widget-text-editor, body .lsm-foot-brand .elementor-widget-text-editor p { max-width: 34ch; margin: 0; color: #c9ccd3; font: 400 16px/1.55 Barlow, "Helvetica Neue", Arial, sans-serif; }
body .lsm-foot .elementor-widget { margin: 0 !important; width: auto; }
body .lsm-foot-col .elementor-heading-title { margin: 0 0 14px; font: 600 12px/1 var(--lsm-mono); letter-spacing: .16em; text-transform: uppercase; color: rgba(255,255,255,.55); }
.lsm-foot-links .elementor-icon-list-icon { display: none !important; }
body .lsm-foot-links .elementor-icon-list-items { gap: 0; }
body .lsm-foot-links .elementor-icon-list-item { padding: 0 !important; }
body .lsm-foot-links .elementor-icon-list-item a { display: inline-block; padding: 7px 0; color: #e9ebf0 !important; font: 500 16px/1.3 Barlow, sans-serif; transition: color .2s, transform .25s var(--lsm-ease); }
body .lsm-foot-links .elementor-icon-list-item a:hover { color: #ff4d5a !important; transform: translateX(4px); }
body .lsm-foot-links .elementor-icon-list-text { padding: 0 !important; color: inherit !important; }
body .lsm-foot-social .elementor-social-icons-wrapper { display: flex; gap: 10px; }
body .lsm-foot-social .elementor-social-icon { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 50% !important; background: transparent !important; border: 1px solid rgba(255,255,255,.28) !important; color: #fff !important; transition: background-color .2s, border-color .2s, transform .25s var(--lsm-ease); }
body .lsm-foot-social .elementor-social-icon i, body .lsm-foot-social .elementor-social-icon svg { color: #fff !important; fill: #fff !important; font-size: 17px; width: 17px; height: 17px; }
body .lsm-foot-social .elementor-social-icon:hover { background: var(--lsm-red) !important; border-color: var(--lsm-red) !important; transform: translateY(-3px); }
body .e-con.lsm-foot-cta { flex: 1.2 1 0; width: auto; padding: 26px !important; gap: 12px; align-items: flex-start; background: rgba(255,255,255,.06) !important; border: 1px solid rgba(255,255,255,.14) !important; border-radius: 16px !important; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
body .lsm-foot-cta .elementor-heading-title { margin: 0; font: 800 28px/1.05 var(--lsm-disp); letter-spacing: 0; text-transform: uppercase; color: #fff; }
body .lsm-foot-cta .elementor-widget-text-editor, body .lsm-foot-cta .elementor-widget-text-editor p { margin: 0; color: #c9ccd3; font: 400 16px/1.5 Barlow, sans-serif; }
body .lsm-foot-cta .elementor-button { display: inline-flex; margin-top: 4px; background: var(--lsm-red); color: #fff; border-radius: 12px; padding: 12px 18px; font: 600 16px/1 Barlow, sans-serif; transition: background-color .15s, transform .25s var(--lsm-ease); }
body .lsm-foot-cta .elementor-button:hover { background: var(--lsm-red2); transform: translateY(-2px); }
body .lsm-foot-cta .lsm-cta2 .elementor-button { margin-top: 0; background: transparent; border: 1px solid rgba(255,255,255,.35); }
body .lsm-foot-cta .lsm-cta2 .elementor-button:hover { background: rgba(255,255,255,.12); }
body .e-con.lsm-foot-bar { width: 100%; max-width: 1500px; margin: 0 auto; padding: 18px 100px 26px 28px; gap: 16px; flex-direction: row; flex-wrap: wrap; justify-content: space-between; align-items: center; border-top: 1px solid rgba(255,255,255,.12); }
body .lsm-foot-bar .elementor-widget-text-editor, body .lsm-foot-bar .elementor-widget-text-editor p { margin: 0; color: #9aa0b0; font: 400 14px/1.4 Barlow, sans-serif; }
body .lsm-foot-bar .elementor-icon-list-items { gap: 22px; }
body .lsm-foot-bar .elementor-icon-list-item { padding: 0 !important; }
body .lsm-foot-bar .elementor-icon-list-item a, body .lsm-foot-bar .elementor-icon-list-text { color: #9aa0b0 !important; font: 400 14px/1.4 Barlow, sans-serif; transition: color .2s; }
body .lsm-foot-bar .elementor-icon-list-item a:hover { color: #fff !important; }
.lsm-foot-bar .elementor-icon-list-icon { display: none !important; }
@media (max-width: 1100px) {
    body .e-con.lsm-foot-main { flex-wrap: wrap; gap: 36px 32px; padding-top: 44px; }
    body .e-con.lsm-foot-brand, body .e-con.lsm-foot-cta { flex: 1 1 100%; }
    body .e-con.lsm-foot-col:not(.lsm-foot-brand) { flex: 1 1 40%; }
}
@media (max-width: 760px) {
    body .e-con.lsm-foot-main { padding: 36px 20px 28px; gap: 30px; }
    body .e-con.lsm-foot-col:not(.lsm-foot-brand) { flex: 1 1 100%; }
    body .e-con.lsm-foot-bar { padding: 16px 20px 84px; flex-direction: column; align-items: flex-start; }
    body .lsm-foot-bar .elementor-icon-list-items { flex-wrap: wrap; gap: 8px 20px; }
}
@media (prefers-reduced-motion: reduce) { .lsm-foot a, .lsm-foot .elementor-button, .lsm-foot .elementor-social-icon { transition: none !important; } }
