/* REDE Marketing 1.0.13 — solo compatibilidad de portales y medios, sin tocar Electro. */
.rede-marketing-surface-slot{display:block;box-sizing:border-box;clear:both;width:100%;min-width:0;max-width:100%;margin:0 auto 18px}
.rede-marketing-surface-slot .rede-campaign-banner{width:100%;max-width:100%;box-sizing:border-box}
.rede-marketing-surface-slot .rede-campaign-full-media{width:100%!important;height:auto!important;max-width:100%!important}
.rede-campaign-banner:not(.is-creative) .rede-campaign-emotional{grid-column:1/-1}
.rede-campaign-banner .rede-campaign-device-fallback{display:none}
.rede-campaign-banner.rede-campaign-mobile-only .rede-campaign-device-fallback{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-weight:750;line-height:1.25;color:#fff}
.rede-marketing-1013-text{display:block;box-sizing:border-box;max-width:100%;padding:18px 22px;color:#fff;background:linear-gradient(110deg,#0d1218,#1a1c20);border-radius:12px;font:750 clamp(18px,2.5vw,30px)/1.22 system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.rede-campaign-banner.rede-marketing-media-error{display:flex!important;justify-content:flex-start;align-items:center;box-sizing:border-box;min-height:90px!important;max-height:none!important;aspect-ratio:auto!important;padding:18px 22px!important;line-height:1.25!important}
.rede-campaign-banner.rede-marketing-media-error .rede-marketing-1013-text{padding:0;background:none}
@media (min-width:768px){
 .rede-campaign-banner.is-creative.rede-campaign-mobile-only{display:flex!important;align-items:center!important;min-height:96px!important;max-height:none!important;aspect-ratio:auto!important;padding:18px 22px!important;line-height:1.25!important}
 .rede-campaign-banner.rede-campaign-mobile-only picture,
 .rede-campaign-banner.rede-campaign-mobile-only>.rede-campaign-full-media,
 .rede-campaign-banner.rede-campaign-mobile-only>.rede-campaign-responsive-media{display:none!important}
 .rede-campaign-banner.rede-campaign-mobile-only .rede-campaign-device-fallback{display:block!important;font-size:clamp(18px,2.6vw,34px);color:#fff!important}
 .rede-marketing-1013-home-mobile-only{display:none!important}
 .rede-marketing-1013-home-text{display:block!important}
}
@media (max-width:767px){
 .rede-marketing-surface-slot{margin-bottom:14px}
 .rede-campaign-banner.rede-campaign-mobile-only .rede-campaign-device-fallback{display:none!important}
 .rede-marketing-1013-home-text{display:none!important}
 .rede-marketing-1013-text{padding:14px 16px;font-size:clamp(17px,5vw,23px)}
}

/* 1.0.15 — Inicio (banner externo del módulo Home Intelligence).
   Imagen móvil exclusivamente: ocultarla en desktop y mostrar texto real.
   Sin marcos, recortes ni modificación de WooCommerce. */
.rede-marketing-home-banner-link{display:block!important;box-sizing:border-box;width:100%;color:inherit;text-decoration:none;cursor:pointer}
.rede-marketing-1015-home-mobile-only-frame{position:relative;max-width:100%;box-sizing:border-box}
.rede-marketing-1015-home-mobile-only-frame>.rede-marketing-1013-home-text{box-sizing:border-box;width:100%;white-space:normal;line-height:1.2}
@media(min-width:768px){
 .rede-marketing-1015-home-mobile-only-frame{height:auto!important;min-height:0!important;max-height:none!important;overflow:visible!important;aspect-ratio:auto!important}
 .rede-marketing-1015-home-mobile-only-frame>.rede-marketing-1013-home-text{display:block!important;padding:18px 26px!important;background:linear-gradient(110deg,#101215,#222123)!important;color:#fff!important;border-radius:12px!important;font-size:clamp(19px,2.2vw,32px)!important;font-weight:750!important}
 .rede-marketing-1013-home-mobile-only{display:none!important;background-image:none!important}
}
@media(max-width:767px){
 .rede-marketing-1015-home-mobile-only-frame>.rede-marketing-1013-home-text{display:none!important}
}

/* 1.0.16 — RESTABLECE EL ASPECTO DEL ENLACE A WHATSAPP.
   Theme/Electro/Home puede decorar a[href*="wa.me"] como botón VERDE.
   Estos selectores SOLO se aplican a banners del plugin, nunca al CTA normal. */
body .rede-marketing-surface-slot,
body .rede-marketing-surface-slot.rede-marketing-surface-primary,
body .rede-marketing-surface-slot.rede-marketing-surface-secondary{
 padding:0!important;border:0!important;background:transparent!important;
 box-shadow:none!important;outline:0;min-height:0!important;height:auto!important;
 overflow:visible!important;
}
body a.rede-campaign-link,
body .rede-family-hub .rede-marketing-surface-slot > a.rede-campaign-link,
body .rede-product-hub .rede-marketing-surface-slot > a.rede-campaign-link,
body .rede-marketing-surface-slot a.rede-campaign-link,
body a.rede-campaign-link.rede-marketing-home-banner-link,
body a.rede-marketing-1016-home-frame,
body a.rede-campaign-link[href*="wa.me"]{
 display:block!important;box-sizing:border-box!important;width:100%!important;
 height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:0!important;
 background:transparent!important;background-color:transparent!important;background-image:none!important;
 border:0!important;border-radius:0!important;box-shadow:none!important;
 outline:0!important;color:inherit!important;text-decoration:none!important;
 transform:none!important;filter:none!important;line-height:normal!important;
}
body a.rede-campaign-link:hover,
body a.rede-campaign-link:active,
body a.rede-campaign-link:focus,
body a.rede-campaign-link[href*="wa.me"]:hover{
 background:transparent!important;background-color:transparent!important;background-image:none!important;
 box-shadow:none!important;border:0!important;transform:none!important;
}
body a.rede-campaign-link:focus-visible{
 outline:3px solid #ffc900!important;outline-offset:3px!important;
}
/* El propio banner conserva su fondo (negro/texto) y esquinas. */
body .rede-marketing-surface-slot .rede-campaign-banner{margin:0!important}
/* Caso particular de portada Home: sin altura fija ni recorte de la imagen de campaña. */
body .rede-marketing-1016-home-frame{
 height:auto!important;max-height:none!important;min-height:0!important;
 overflow:visible!important;aspect-ratio:auto!important;
 background:transparent!important;border:0!important;box-shadow:none!important;
 padding:0!important;
}
body .rede-marketing-1016-home-frame > img,
body .rede-marketing-1016-home-frame > picture,
body .rede-marketing-1016-home-frame picture > img,
body .rede-marketing-1016-home-frame > video{
 display:block!important;width:100%!important;height:auto!important;
 max-height:none!important;aspect-ratio:auto!important;
 object-fit:contain!important;object-position:center!important;
}

/* v1.0.17 — theme can style ANY a[href*=wa.me] as a green CTA.
   Neutralize the anchor's box with scoped inline CSS as last resort, preserving
   native keyboard focus, href and click tracking. */
body .rede-marketing-surface-slot > a.rede-campaign-link,
body .rede-marketing-surface-slot a.rede-campaign-link[href*="wa.me"] {
  display:block!important;box-sizing:border-box!important;width:100%!important;
  height:auto!important;min-height:0!important;max-height:none!important;
  padding:0!important;margin:0!important;background:transparent!important;
  background-image:none!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;color:inherit!important;text-decoration:none!important;
  line-height:normal!important;
}
body .rede-marketing-surface-slot > a.rede-campaign-link::before,
body .rede-marketing-surface-slot > a.rede-campaign-link::after{
  content:none!important;display:none!important;
}
body .rede-marketing-surface-slot .rede-campaign-banner{
  box-sizing:border-box!important;width:100%!important;max-width:100%!important;
  margin:0!important;border-radius:12px!important;
}
body .rede-marketing-surface-slot.rede-marketing-surface-secondary{
  display:block!important;max-width:100%!important;min-height:0!important;
  height:auto!important;overflow:visible!important;background:transparent!important;
  margin:0 auto 18px!important;padding:0!important;
}
@media (min-width:768px){
  body .rede-marketing-surface-slot.rede-marketing-surface-secondary .rede-campaign-secondary.rede-campaign-mobile-only{
    width:100%!important;min-height:0!important;height:auto!important;
    max-height:none!important;padding:14px 20px!important;line-height:1.2!important;
  }
}
