/* Clean shell adapter for the frozen CLEC Electron layout. */
body.lf-clec-shell #site-header {
  display: none !important;
}

body.lf-clec-shell #content.site-main {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
}

body.lf-clec-shell .elementor-invisible {
  visibility: visible !important;
}

body.lf-clec-shell #masthead.lf-clec-site-header {
  box-sizing: border-box;
  max-width: none;
  margin: 0;
  padding: 0;
}

.lf-clec-site-header .site-header-contain,
.lf-clec-site-header #site-navigation,
.lf-clec-site-header .site-navigation,
.lf-clec-site-header .main-navigation,
.lf-clec-site-header .lf-clec-primary-menu-container,
.lf-clec-site-header .main-navigation .menu {
  width: 100%;
}

.lf-clec-site-header .site-header-contain {
  display: block;
  height: 100%;
  margin: 0;
  padding: 0;
}

.lf-clec-site-header .main-navigation .menu > li {
  display: block;
  float: none;
  width: 100%;
}

body.lf-clec-shell.elementor-page #content.site-main > .page-header,
body.lf-clec-shell.elementor-page #content.site-main > .comments-area,
body.lf-clec-shell.elementor-page #content.site-main > #comments {
  display: none !important;
}

.lf-clec-site-header .custom-logo-link,
.lf-clec-site-header .custom-logo {
  display: block;
}

.lf-clec-site-header .custom-logo {
  width: 167px;
  height: auto;
}

.lf-clec-site-header .main-navigation li.menu-item-has-children > a::after {
  position: absolute;
  top: 17px;
  right: 1rem;
  width: 20px;
  height: 20px;
  border: 1px solid currentColor;
  border-radius: 50%;
  color: #ea2734;
  content: "›";
  font-size: 20px;
  font-weight: 300;
  line-height: 16px;
  text-align: center;
}

.lf-clec-site-header .social-links-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.lf-clec-site-header .social-links-menu > li {
  display: block;
}

.lf-clec-site-header .social-links-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.lf-clec-site-header .lf-clec-chain {
  display: block;
  width: 31px;
  height: 31px;
  font-size: 14px;
  line-height: 31px;
}

.lf-clec-site-header .menu-toggle {
  width: 42px;
  height: 38px;
}

.lf-clec-site-header .lf-clec-menu-icon,
.lf-clec-site-header .lf-clec-menu-icon::before,
.lf-clec-site-header .lf-clec-menu-icon::after {
  position: absolute;
  left: 10px;
  width: 22px;
  height: 2px;
  background: #fff;
  content: "";
}

.lf-clec-site-header .lf-clec-menu-icon {
  top: 18px;
}

.lf-clec-site-header .lf-clec-menu-icon::before {
  top: -7px;
  left: 0;
}

.lf-clec-site-header .lf-clec-menu-icon::after {
  top: 7px;
  left: 0;
}

body.lf-clec-shell.lf-clec-nav-open .lf-clec-site-header .lf-clec-menu-icon {
  background: transparent;
}

body.lf-clec-shell.lf-clec-nav-open .lf-clec-site-header .lf-clec-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

body.lf-clec-shell.lf-clec-nav-open .lf-clec-site-header .lf-clec-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.lf-clec-site-header .main-navigation ul.sub-menu {
  opacity: 0;
  transform: translateX(0);
  transition: opacity .3s ease, transform .3s ease;
}

@media (min-width: 1200px) {
  body.lf-clec-shell #masthead.lf-clec-site-header {
    position: fixed;
    top: 0;
    left: 0;
    display: block;
    width: 236px;
    max-width: 236px;
    height: 100vh;
  }

  .lf-clec-site-header #site-navigation {
    top: 0;
    height: 100%;
  }

  body.lf-clec-shell #content.site-main,
  body.lf-clec-shell #site-footer {
    width: calc(100% - 236px);
    max-width: none;
    margin-left: 236px;
  }

  .lf-clec-site-header .main-navigation li.menu-item-has-children:hover > ul.sub-menu,
  .lf-clec-site-header .main-navigation li.menu-item-has-children:focus-within > ul.sub-menu {
    z-index: -1;
    opacity: 1;
    transform: translateX(296px);
  }
}

@media (max-width: 1199px) {
  body.lf-clec-shell #masthead.lf-clec-site-header {
    position: relative;
    display: block;
    width: 100%;
    height: 0;
    min-height: 0;
  }

  body.lf-clec-shell.lf-clec-nav-open {
    overflow: hidden;
  }

  .lf-clec-site-header .main-navigation li.menu-item-has-children > a::after {
    top: 0;
    right: 0;
    width: 44px;
    height: 50px;
    border: 0;
    line-height: 46px;
  }

  .lf-clec-site-header .main-navigation li.menu-item-has-children.is-open > ul.sub-menu {
    display: block;
    opacity: 1;
  }
}

/* 0.2.2 exact Electron shell corrections after Hello Elementor CSS. */
.lf-clec-site-header .site-navigation {
  display: block !important;
}

.lf-clec-site-header .main-navigation,
.lf-clec-site-header .lf-clec-primary-menu-container,
.lf-clec-site-header .main-navigation .menu,
.lf-clec-site-header .main-navigation .menu > li,
.lf-clec-site-header .main-navigation .menu > li > a {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
}

.lf-clec-site-header .main-navigation .menu {
  display: block !important;
  margin: 0;
}

.lf-clec-site-header .main-navigation .menu > li {
  display: block;
  float: none;
  margin: 0;
  padding: 0 !important;
}

.lf-clec-site-header .main-navigation .menu > li > a {
  padding: .97rem 1.5rem !important;
  white-space: nowrap;
}

.lf-clec-site-header .main-navigation li.menu-item-has-children > a::after {
  display: none !important;
}

.lf-clec-site-header .main-navigation li.menu-item-has-children::after {
  display: none !important;
  content: none !important;
}

.lf-clec-site-header .social-navigation,
.lf-clec-site-header .social-links-menu {
  width: 100%;
}

.lf-clec-site-header .social-navigation .icon-chain {
  display: inline-block;
  fill: currentColor;
}

.elementor .lf-slides button.lf-slides__arrow,
.elementor .lf-slides button.lf-slides__dot {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
  appearance: none;
  -webkit-appearance: none;
}

.elementor .lf-slides button.lf-slides__arrow {
  width: 44px;
  height: 64px;
  padding: 0 !important;
  background: transparent !important;
  color: #fff !important;
}

.elementor .lf-slides button.lf-slides__dot {
  width: 7px;
  height: 7px;
  min-width: 0;
  min-height: 0;
  padding: 0 !important;
  border-radius: 50% !important;
}

@media (max-width: 1199px) {
  .lf-clec-site-header #site-navigation {
    width: 236px !important;
  }

  .lf-clec-site-header .main-navigation .menu {
    padding-top: 11px !important;
  }
}

@media (min-width: 1200px) {
  .lf-clec-site-header .main-navigation .menu {
    padding-top: 48px !important;
  }

  .lf-clec-site-header .main-navigation ul.sub-menu {
    position: fixed !important;
    top: 0 !important;
    left: -60px !important;
    display: block !important;
    width: 296px !important;
    height: 100vh !important;
  }

  /* The clean compatibility templates render Elementor's #content directly
     under body. Keep the original Electron fixed-shell boundary here. */
  body.lf-clec-shell #content.site-main,
  body.lf-clec-shell #site-footer {
    width: calc(100% - 236px);
    max-width: none;
    margin-left: 236px;
  }

  /* WooCommerce's compatibility template renders #primary directly under
     body, outside Hello's #page. Recreate Electron's centered container in
     the remaining viewport instead of letting the fixed shell cover it. */
  body.lf-clec-shell > #primary.content-area {
    box-sizing: border-box;
    width: calc(100% - 236px);
    max-width: 1140px;
    margin-left: max(236px, calc(50% - 452px));
    margin-right: 0;
    padding-right: 15px;
    padding-left: 15px;
  }

  body.lf-clec-shell > #primary.content-area main.site-main {
    width: 100%;
    max-width: none;
    margin-left: 0;
  }
}
