/* Elementor + VENTO isolation & kit alignment */

.vento-home-both .vento-elementor-home-block,
.vento-home-both .vento-native-home-block{
  width:100%;
}
.vento-home-both .vento-native-home-block{
  border-top:1px solid var(--line, rgba(8,20,38,.12));
}

/* —— Homepage / content shell —— */
.vento-elementor-home,
.vento-elementor-fullwidth,
.vento-elementor-content,
.vento-home-both,
.vento-elementor-canvas #content{
  width:100%;
  max-width:none;
  padding:0;
  margin:0;
}
.vento-elementor-home .elementor,
.vento-elementor-fullwidth .elementor,
.vento-elementor-content .elementor,
.vento-home-both .elementor{
  max-width:none;
}

/* Do not let theme link color invade Elementor widgets */
.elementor a{
  text-decoration:inherit;
}
.elementor .elementor-button,
.elementor .elementor-button:hover,
.elementor .elementor-button:focus{
  color:var(--e-global-color-primary, #fff);
}
.elementor img{
  display:inline-block;
  height:auto;
  max-width:100%;
}

/* Theme section widgets inside Elementor — kill double side padding */
.elementor-widget-vento_hero .vento-hero-wrap,
.elementor-widget-vento_hero .section,
.elementor-widget-vento_categories .section,
.elementor-widget-vento_products .section,
.elementor-widget-vento_designer_cta .section,
.elementor-widget-vento_features .section,
.elementor-widget-vento_marquee .section,
.elementor-widget-vento_final_cta .section,
.elementor-widget-vento_gallery .section{
  padding-left:0;
  padding-right:0;
}
.elementor-widget-vento_hero .container,
.elementor-widget-vento_categories .container,
.elementor-widget-vento_products .container,
.elementor-widget-vento_designer_cta .container,
.elementor-widget-vento_features .container,
.elementor-widget-vento_marquee .container,
.elementor-widget-vento_final_cta .container,
.elementor-widget-vento_gallery .container{
  width:min(var(--max), calc(100% - 40px));
  margin-inline:auto;
}

/* Boxed Elementor sections respect theme max width */
.elementor-section.elementor-section-boxed > .elementor-container{
  max-width:var(--max);
}

body.elementor-page,
body.vento-elementor-page,
.elementor-kit-vento{
  --e-global-color-primary: var(--midnight);
  --e-global-color-secondary: var(--cyan);
  --e-global-color-text: var(--text);
  --e-global-color-accent: var(--cyan);
}

.elementor .btn{text-decoration:none}

.elementor-section[data-settings*="vento_midnight"],
.e-con.vento-midnight-bg{
  background:var(--midnight)!important;
  color:#fff;
}

.elementor-widget-woocommerce-products .product,
.elementor-widget-wc-products .product{
  border-radius:20px;
  overflow:hidden;
  background:var(--soft-white);
  border:1px solid var(--line);
}

/* Canvas template: no theme chrome leftovers */
.page-template-elementor-canvas .announcement,
.page-template-elementor-canvas .mobile-bar,
.page-template-elementor-canvas .site-footer,
.page-template-elementor-canvas .site-header{
  display:none!important;
}
body.vento-elementor-canvas{
  padding-bottom:0!important;
}

/* Editor / preview: reveals must be visible */
.elementor-editor-active .reveal,
.elementor-editor-preview .reveal,
.elementor-preview .reveal{
  opacity:1!important;
  transform:none!important;
}

/* Prevent theme section background from clipping Elementor absolute widgets */
.elementor-element{
  box-sizing:border-box;
}

/* Mobile bar only on theme chrome pages — keep on Elementor home with theme header */
body.elementor-editor-active .mobile-bar{
  display:none!important;
}
