
/* 0.8.1 — Elementor page/content integration: only builder pages, not native PDP. */
body.lco-editorial.lco-elementor-document .lco-page,
body.lco-editorial.elementor-page .lco-page { overflow: visible; }
body.lco-editorial .lco-elementor-content { width: 100%; min-height: 40vh; padding: 0; max-width: none; }
body.lco-editorial .lco-elementor-content > article,
body.lco-editorial .lco-elementor-content .lco-entry-content { margin: 0; padding: 0; width: 100%; max-width: none; }
body.lco-editorial .lco-elementor-content .elementor { width: 100%; }
/* The global Liscano image max-width still applies; avoid overriding Elementor width controls. */
/* Theme Builder templates can also run on products that are not Elementor documents. */
@supports selector(.lco-page:has(.elementor-location-single)) {
  body.lco-editorial .lco-page:has(.elementor-location-header, .elementor-location-footer, .elementor-location-single, .elementor-location-archive) { overflow: visible; }
}

/* 0.8.6: Dedicated Elementor editor iframe output; never constrain its canvas. */
body.lco-editorial .lco-elementor-editor-preview,
body.lco-editorial .lco-elementor-editor-preview > article,
body.lco-editorial .lco-elementor-editor-preview .lco-entry-content {
  width: 100%; max-width: none; padding: 0; margin: 0; min-height: 1px;
}

/* 0.8.7: True hybrid home: native hero + opt-in Elementor sections.
   Do not constrain Elementor widgets or shortcode containers to the native
   Liscano shell; the Elementor page itself owns its width/padding settings. */
body.lco-editorial .lco-home .lco-home-elementor-slot {
  display: block;
  width: 100%;
  max-width: none;
  min-width: 0;
  min-height: 0;
  padding: 0;
  margin: 0;
  overflow: visible;
}
body.lco-editorial .lco-home .lco-home-elementor-slot .lco-entry-content,
body.lco-editorial .lco-home .lco-home-elementor-slot .elementor {
  width: 100%;
  max-width: none;
  padding: 0;
  margin: 0;
}

/* 0.8.8 — Editor iframe uses the complete native home layout. The Elementor
   document itself remains full-width at its selected insertion point; native
   sections remain visually present without becoming Elementor widgets. */
body.lco-editorial.lco-elementor-home-full-preview .lco-home {
  overflow: visible;
}
body.lco-editorial.lco-elementor-home-full-preview .lco-home-elementor-slot {
  position: relative;
  min-width: 0;
}
body.lco-editorial.lco-elementor-home-full-preview .lco-home-elementor-slot > article {
  max-width: none;
  margin: 0;
  padding: 0;
}


/* 0.9.9: diagnostic preview for an unconfigured [liscano_hero].
 * Only emitted into the authorised Elementor editing iframe. */
.lco-hero-editor-reference{display:grid;width:100%;background:#f5f5f6;border:1px dashed #d9d9de;border-radius:14px;overflow:hidden;font-family:'Google Sans',Arial,sans-serif;color:#202124;box-sizing:border-box}
.lco-hero-editor-reference__picture{position:relative;min-height:200px;max-height:540px;overflow:hidden;background:#242426}
.lco-hero-editor-reference__picture img{display:block;width:100%;height:100%;max-height:540px;object-fit:cover}
.lco-hero-editor-reference__picture:after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.66));pointer-events:none}
.lco-hero-editor-reference__picture span{position:absolute;left:clamp(18px,4vw,46px);bottom:clamp(18px,3vw,34px);z-index:1;max-width:80%;color:#fff;font-size:clamp(22px,4vw,54px);font-weight:800;letter-spacing:-.045em;line-height:1.06}
.lco-hero-editor-reference__info{padding:23px clamp(17px,3vw,31px)}
.lco-hero-editor-reference__info strong{font-size:15px;font-weight:800}
.lco-hero-editor-reference__info p{font-size:13px;line-height:1.55;color:#676970;max-width:68ch;margin:7px 0 15px}
.lco-hero-editor-reference__info a{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:10px 16px;border-radius:9px;background:#be1a34;color:white!important;font-size:12px;font-weight:800;text-decoration:none!important}
.lco-hero-editor-reference__info a:hover{background:#991228}
