/* Sheim ↔ Nexi Homepage 4 bridge. Keep Elementor/WGL layout intact. */
:root {
  --nexi-header-font-family: "Space Grotesk", sans-serif;
  --nexi-h1-font-family: "Space Grotesk", sans-serif;
  --nexi-h2-font-family: "Space Grotesk", sans-serif;
  --nexi-h3-font-family: "Space Grotesk", sans-serif;
  --nexi-h4-font-family: "Space Grotesk", sans-serif;
  --nexi-h5-font-family: "Space Grotesk", sans-serif;
  --nexi-h6-font-family: "Space Grotesk", sans-serif;
  --nexi-content-font-family: "DM Sans", sans-serif;
  --nexi-additional-font-family: "Playfair Display", serif;
  --nexi-button-font-family: "Space Grotesk", sans-serif;
  --nexi-menu-font-family: "Space Grotesk", sans-serif;
  --nexi-submenu-font-family: "DM Sans", sans-serif;
}
body.elementor-page-213,
body.theme-nexi {
  margin: 0;
  font-family: "DM Sans", sans-serif;
}
body.theme-nexi h1,
body.theme-nexi h2,
body.theme-nexi h3,
body.theme-nexi h4,
body.theme-nexi h5,
body.theme-nexi h6 {
  font-family: "Space Grotesk", sans-serif;
}
.wgl-logotype-container img.default_logo {
  width: auto;
  display: inline-block;
  object-fit: contain;
  margin-top: 10px;
  height: 70px !important;
}
/* Cookie bar — match Nexi footer (dark navy / purple, Space Grotesk, #8980F1 CTA) */
body.theme-nexi .cookie-consent-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100000;
  padding: 0;
  margin: 0;
  font-family: var(--nexi-header-font-family, "Space Grotesk", sans-serif);
}
body.theme-nexi .cookie-consent-banner .cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px 28px;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 18px 32px;
  background: linear-gradient(90deg, #07041c 0%, #12082e 48%, #04011c 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 -16px 48px rgba(4, 1, 28, 0.55);
  overflow: visible;
}
body.theme-nexi .cookie-consent-banner .cookie-content::before {
  display: none;
}
body.theme-nexi .cookie-consent-banner .cookie-content p {
  margin: 0;
  flex: 1 1 auto;
  max-width: 52rem;
  padding: 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0;
}
body.theme-nexi .cookie-consent-banner .cookie-content p::before {
  content: none;
}
body.theme-nexi .cookie-consent-banner .cookie-actions {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 10px;
}
body.theme-nexi .cookie-consent-banner #acceptCookies,
body.theme-nexi .cookie-consent-banner #declineCookies,
body.theme-nexi .cookie-consent-banner .cookie-consent-btn {
  appearance: none;
  -webkit-appearance: none;
  position: static;
  overflow: visible;
  min-width: 0;
  height: 44px;
  padding: 0 20px;
  border-radius: 12px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0;
  text-transform: none;
  line-height: 1;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: none;
  transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
}
body.theme-nexi .cookie-consent-banner #acceptCookies::before,
body.theme-nexi .cookie-consent-banner #declineCookies::before {
  display: none;
}
body.theme-nexi .cookie-consent-banner #acceptCookies {
  background: linear-gradient(90deg, #a680f1 0%, #8980f1 100%) !important;
  border: 0 !important;
  color: #fff !important;
}
body.theme-nexi .cookie-consent-banner #acceptCookies:hover,
body.theme-nexi .cookie-consent-banner #acceptCookies:focus-visible {
  background: #fff !important;
  color: #04011c !important;
  transform: none;
  box-shadow: none;
}
body.theme-nexi .cookie-consent-banner #declineCookies {
  background: transparent !important;
  border: 1px solid rgba(255, 255, 255, 0.28) !important;
  color: rgba(255, 255, 255, 0.88) !important;
  backdrop-filter: none;
}
body.theme-nexi .cookie-consent-banner #declineCookies:hover,
body.theme-nexi .cookie-consent-banner #declineCookies:focus-visible {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: #fff !important;
  color: #fff !important;
  transform: none;
  box-shadow: none;
}
@media (max-width: 767px) {
  body.theme-nexi .cookie-consent-banner .cookie-content {
    flex-direction: column;
    align-items: stretch;
    padding: 16px 18px 18px;
    gap: 14px;
  }
  body.theme-nexi .cookie-consent-banner .cookie-actions {
    width: 100%;
  }
  body.theme-nexi .cookie-consent-banner #acceptCookies,
  body.theme-nexi .cookie-consent-banner #declineCookies {
    flex: 1 1 0;
    height: 42px;
  }
}

/* Sheim has no WooCommerce shop — hide Nexi demo cart */
body.theme-nexi .elementor-widget-wgl-header-cart,
body.theme-nexi .wgl-mini-cart_wrapper,
body.theme-nexi .wgl_notices_wrapper,
body.theme-nexi .mini_cart-overlay,
body.theme-nexi .wgl-cart-header {
  display: none !important;
}

/* Checkout promo / list price under pricing period */
body.theme-nexi .price__list,
body.theme-nexi .price__promo {
  display: inline-block;
  margin-left: 0.35em;
  font-size: 16px;
  font-weight: 500;
  opacity: 0.75;
}
body.theme-nexi .price__list s {
  text-decoration: line-through;
}
body.theme-nexi .price__promo {
  opacity: 0.9;
  color: inherit;
}

/* Hide header search icon (desktop, sticky, mobile) */
body.theme-nexi .elementor-widget-wgl-header-search,
body.theme-nexi .header_search,
body.theme-nexi .wgl-search {
  display: none !important;
}

/* Hide "Join the 1.000+ clients trusting Octo" + logo strip */
body.theme-nexi .elementor-element-12f5b72,
body.theme-nexi .elementor-element-f29ca80 {
  display: none !important;
}

/* Dummy App Store / Google Play icon buttons */
body.theme-nexi .elementor-element-a7b7b26,
body.theme-nexi .elementor-element-5ab0cd5 {
  display: none !important;
}

/* Pricing cards: keep feature list light, no purple hover */
body.theme-nexi .elementor-widget-wgl-pricing-table .elementor-widget-container:hover .pricing__footer,
body.theme-nexi .elementor-widget-wgl-pricing-table .pricing__wrapper:hover .pricing__footer,
body.theme-nexi .elementor-widget-wgl-pricing-table .pricing__footer {
  background-color: transparent !important;
  --wgl-bg-gradient-primary: #F5F5FE !important;
  --wgl-bg-gradient-secondary: #F5F5FE !important;
  background-image: linear-gradient(90deg, #F5F5FE 0%, #F5F5FE 100%) !important;
}
body.theme-nexi .elementor-widget-wgl-pricing-table .pricing__wrapper:hover .pricing__content,
body.theme-nexi .elementor-widget-wgl-pricing-table .pricing__wrapper:hover .pricing__content li,
body.theme-nexi .elementor-widget-wgl-pricing-table .pricing__wrapper:hover .pricing__content li::before {
  color: #575757 !important;
}
body.theme-nexi .wgl-pricing_plan.hover-animation:hover .pricing__wrapper {
  transform: none !important;
}

/* FAQ block: phone/card removed, keep Octo watermark */
body.theme-nexi .elementor-element-bea8407 {
  min-height: 520px;
  position: relative;
  justify-content: center;
}

/* HP2 light header/hero canvas */
body.theme-nexi.elementor-page-209 {
  background: #f7f5ff;
}
body.theme-nexi .elementor-209 {
  background: transparent;
}

/* Remove Nexi top promo bar */
body.theme-nexi .elementor-2101 .elementor-element-72f46b3 {
  display: none !important;
}
body.theme-nexi .elementor-2101 .elementor-element-1dc526c {
  margin-top: 18px;
}

/* e-flex was overriding Elementor hidden-* so desktop + mobile headers stacked.
   Nexi switches to mobile header at 1200px; Elementor only hid .hidden-mobile at 767px,
   which left desktop nav + hamburger stacked on tablets. */
@media (min-width: 1201px) {
  body.theme-nexi .elementor-hidden-desktop {
    display: none !important;
  }
}
@media (min-width: 768px) and (max-width: 1200px) {
  body.theme-nexi .elementor-hidden-tablet {
    display: none !important;
  }
}
@media (max-width: 1200px) {
  body.theme-nexi .elementor-hidden-mobile,
  body.theme-nexi .elementor-hidden-phone {
    display: none !important;
  }
  body.theme-nexi .wgl-theme-header .elementor-hidden-desktop,
  body.theme-nexi .elementor-element-985132d {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    align-items: center;
    justify-content: space-between;
  }
  body.theme-nexi .wgl-header-mobile_menu_buttton,
  body.theme-nexi .wgl-menu-btn,
  body.theme-nexi .hamburger-box,
  body.theme-nexi .mobile_nav_toggler,
  body.theme-nexi .wgl-theme-header [title="Open"] {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    cursor: pointer;
    z-index: 120;
    pointer-events: auto;
  }
  body.theme-nexi .wgl-theme-header {
    position: relative;
    z-index: 1100;
  }
  body.theme-nexi .elementor-widget-image img,
  body.theme-nexi .elementor-widget-video video,
  body.theme-nexi .elementor-widget-video iframe {
    max-width: 100%;
    height: auto;
  }
  body.theme-nexi .elementor-widget-wgl-pricing-table,
  body.theme-nexi .elementor-widget-wgl-pricing-tables {
    width: 100% !important;
    max-width: 100%;
  }
  body.theme-nexi #main.sheim-nexi-auth {
    padding: 110px 16px 48px !important;
  }
  body.theme-nexi .sheim-nexi-auth-card {
    padding: 24px 18px 22px;
  }
  body.theme-nexi .sheim-nexi-auth-card__top {
    flex-wrap: wrap;
  }
}

/* About/service infobox: CMS Font Awesome or image icons */
body.theme-nexi .wgl-infobox .icon.elementor-icon > i {
  font-size: 1em;
  color: inherit;
  line-height: 1;
  display: inline-block;
}
body.theme-nexi .wgl-infobox .icon.elementor-icon > img,
body.theme-nexi .sheim-nexi-infobox-icon {
  width: 1em;
  height: 1em;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

/* Hero description: keep CMS rich text (bold, spacing, lists, align) */
body.theme-nexi .elementor-element-4e85278 p {
  margin: 0 0 0.55em;
}
body.theme-nexi .elementor-element-4e85278 p:last-child {
  margin-bottom: 0;
}
body.theme-nexi .elementor-element-4e85278 strong,
body.theme-nexi .elementor-element-4e85278 b {
  font-weight: 700;
}
body.theme-nexi .elementor-element-4e85278 em,
body.theme-nexi .elementor-element-4e85278 i {
  font-style: italic;
}
body.theme-nexi .elementor-element-4e85278 ul,
body.theme-nexi .elementor-element-4e85278 ol {
  margin: 0.4em 0 0.6em 1.2em;
  padding: 0;
}
body.theme-nexi .elementor-element-4e85278 .ql-align-left { text-align: left; }
body.theme-nexi .elementor-element-4e85278 .ql-align-center { text-align: center; }
body.theme-nexi .elementor-element-4e85278 .ql-align-right { text-align: right; }
body.theme-nexi .elementor-element-4e85278 .ql-align-justify { text-align: justify; }

/* Header auth: Sign in / Register (or Portal) in place of Get in Touch */
body.theme-nexi .sheim-nexi-auth {
  display: flex;
  align-items: center;
  gap: 10px;
}
body.theme-nexi .sheim-nexi-auth .wgl-widget__button {
  white-space: nowrap;
}
body.theme-nexi .sheim-nexi-auth__login.wgl-widget__button {
  background: transparent !important;
  background-image: none !important;
  color: #04011c !important;
  border: 1px solid #04011c !important;
  box-shadow: none !important;
}
body.theme-nexi .sheim-nexi-auth__login.wgl-widget__button:is(:hover, :focus) {
  color: #8980f1 !important;
  border-color: #8980f1 !important;
  background: transparent !important;
}
body.theme-nexi .elementor-417 .sheim-nexi-auth {
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  width: 100%;
}

/* Archive grid: 4 / 2 / 1 — override WGL pf_col float widths */
body.theme-nexi .sheim-nexi-services-grid.wgl-portfolio_container,
body.theme-nexi .sheim-nexi-services-grid {
  --pf-width: 25% !important;
  --pf-gap: 0px !important;
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 22px !important;
  margin: 0 !important;
  width: 100% !important;
  float: none !important;
}
body.theme-nexi .sheim-nexi-services-grid > .portfolio__item,
body.theme-nexi .sheim-nexi-services-grid .portfolio__item {
  float: none !important;
  width: auto !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0 !important;
}
body.theme-nexi .sheim-nexi-services-grid .item__title .title,
body.theme-nexi .sheim-nexi-services-grid .item__title .title a {
  font-size: 19px !important;
  line-height: 1.3 !important;
  font-weight: 600 !important;
}
body.theme-nexi .sheim-nexi-services-grid .portfolio-category {
  font-size: 11px !important;
}
@media (max-width: 1023px) {
  body.theme-nexi .sheim-nexi-services-grid.wgl-portfolio_container,
  body.theme-nexi .sheim-nexi-services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 575px) {
  body.theme-nexi .sheim-nexi-services-grid.wgl-portfolio_container,
  body.theme-nexi .sheim-nexi-services-grid {
    grid-template-columns: 1fr !important;
  }
}

/* CMS footer inside Nexi chrome */
body.theme-nexi .sheim-nexi-footer-main > .e-con-inner {
  display: flex !important;
  flex-direction: column !important;
  gap: 36px;
  width: 100%;
}
body.theme-nexi .sheim-nexi-footer-subscribe {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(240px, 0.8fr);
  gap: 24px 40px;
  align-items: end;
  color: #fff;
}
body.theme-nexi .sheim-nexi-footer-subscribe h5 {
  margin: 0 0 8px;
  color: #fff;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}
body.theme-nexi .sheim-nexi-footer-subscribe p,
body.theme-nexi .sheim-nexi-footer-members {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
  line-height: 1.5;
}
body.theme-nexi .sheim-nexi-footer-subscribe__form {
  display: flex;
  gap: 8px;
  align-items: stretch;
}
body.theme-nexi .sheim-nexi-footer-subscribe__form input[type="email"] {
  flex: 1 1 auto;
  min-width: 0;
  height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 16px;
  font-size: 15px;
  color: #000000;
background: aliceblue;
}
body.theme-nexi .sheim-nexi-footer-subscribe__form button {
  height: 48px;
  border: 0;
  border-radius: 12px;
  padding: 0 18px;
  background: #8980f1;
  color: #fff;
  font-weight: 600;
  cursor: pointer;
}
body.theme-nexi .sheim-nexi-footer-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px 28px;
  width: 100%;
  align-items: start;
  color: #fff;
}
body.theme-nexi .sheim-nexi-footer-col .footer-logo img,
body.theme-nexi .sheim-nexi-footer-col .footer-widget-image img {
  max-width: 160px;
  height: auto;
  display: block;
  margin-bottom: 12px;
}
body.theme-nexi .sheim-nexi-footer-icons,
body.theme-nexi .footer-contact-icons {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
}
body.theme-nexi .sheim-nexi-footer-icon,
body.theme-nexi .footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.12);
  color: #fff !important;
  font-size: 18px;
  text-decoration: none !important;
  line-height: 1;
}
body.theme-nexi .sheim-nexi-footer-widget--contact p,
body.theme-nexi .sheim-nexi-footer-widget--contact .footer-address-details {
  display: none !important;
}
body.theme-nexi .sheim-nexi-footer-icon:hover {
  background: #8980f1;
  color: #fff !important;
}
body.theme-nexi .sheim-nexi-footer-col h5 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 16px;
  font-weight: 600;
}
body.theme-nexi .sheim-nexi-footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
body.theme-nexi .sheim-nexi-footer-col li {
  margin: 0 0 8px;
}
body.theme-nexi .sheim-nexi-footer-col a,
body.theme-nexi .sheim-nexi-footer-col p {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.5;
}
body.theme-nexi .sheim-nexi-footer-col a:hover {
  color: #fff;
}
body.theme-nexi .sheim-nexi-footer-bottom > .e-con-inner {
  display: flex !important;
  flex-wrap: wrap;
  gap: 12px 24px;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: rgba(255, 255, 255, 0.72);
  font-size: 13px;
}
body.theme-nexi .sheim-nexi-footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
}
body.theme-nexi .sheim-nexi-footer-legal a {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
}
body.theme-nexi .sheim-nexi-footer-legal a:hover {
  color: #fff;
}
.sheim-stars {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 12px 0 4px;
  color: #f5c518;
  font-size: 18px;
}
.sheim-stars__text {
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
body.theme-nexi .sheim-nexi-footer-payments {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}
@media (max-width: 1023px) {
  body.theme-nexi .sheim-nexi-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  body.theme-nexi .sheim-nexi-footer-subscribe,
  body.theme-nexi .sheim-nexi-footer-grid {
    grid-template-columns: 1fr;
  }
}

/* Contain 100vw / 1820px header rows without stretching Elementor boxed 1200px content */
html {
  overflow-x: hidden;
}
body.theme-nexi {
  overflow-x: hidden;
}
body.theme-nexi .wgl-theme-header .e-con,
body.theme-nexi .wgl-footer .e-con,
body.theme-nexi .elementor-224 .e-con,
body.theme-nexi .elementor-3787 .e-con {
  --content-width: min(1820px, 100%) !important;
}
body.theme-nexi .wgl-theme-header,
body.theme-nexi .wgl-footer,
body.theme-nexi .page_header_wrapper {
  max-width: 100%;
}
@media (max-width: 1023px) {
  body.theme-nexi .wgl-logotype-container img.default_logo {
    height: 48px !important;
    margin-top: 0;
  }
}
@media (max-width: 767px) {
  body.theme-nexi {
    --nexi-h1-font-size: 32px;
    --nexi-h1-line-height: 40px;
    --nexi-h2-font-size: 28px;
    --nexi-h2-line-height: 36px;
    --nexi-h3-font-size: 24px;
    --nexi-h3-line-height: 32px;
  }
  body.theme-nexi .mobile_nav_wrapper,
  body.theme-nexi .wgl-menu_overlay,
  body.theme-nexi .wgl-mobile-nav {
    max-width: 100vw;
  }
  body.theme-nexi .cookie-consent-banner {
    padding-bottom: env(safe-area-inset-bottom, 0);
  }
  body.theme-nexi .cookie-consent-banner .cookie-content p {
    font-size: 13px;
    line-height: 1.45;
  }
  body.theme-nexi .elementor-widget-wgl-double-heading,
  body.theme-nexi .elementor-widget-heading .elementor-heading-title,
  body.theme-nexi h1,
  body.theme-nexi h2 {
    overflow-wrap: anywhere;
    word-break: break-word;
  }
  body.theme-nexi .sheim-nexi-footer-bottom > .e-con-inner {
    flex-direction: column;
    align-items: flex-start;
  }
  body.theme-nexi .elementor-widget-wgl-pricing-table {
    width: 100% !important;
    max-width: 100%;
  }
}
