:root {
  --msj-bg-1: #070b16;
  --msj-bg-2: #0d1530;
  --msj-bg-3: #171f42;
  --msj-panel: rgba(255,255,255,0.05);
  --msj-panel-2: rgba(255,255,255,0.08);
  --msj-text: #ffffff;
  --msj-soft: rgba(255,255,255,0.92);
  --msj-muted: rgba(255,255,255,0.70);
  --msj-faint: rgba(255,255,255,0.50);
  --msj-accent-1: #ff4f9b;
  --msj-accent-2: #9d56ff;
  --msj-accent-grad: linear-gradient(135deg, var(--msj-accent-1), var(--msj-accent-2));
  --msj-border: rgba(255,255,255,0.10);
  --msj-border-soft: rgba(255,255,255,0.07);
  --msj-shadow: 0 12px 28px rgba(0, 0, 0, 0.18);
  --msj-width: 1500px;
}

.msj-hf-enabled .site,
.msj-hf-enabled #page,
.msj-hf-enabled .site-content,
.msj-hf-enabled .content-area {
  position: relative;
}

body.msj-hf-enabled,
body.msj-hf-enabled.home,
body.msj-hf-enabled.page,
body.msj-hf-enabled.page-template-default {
  margin: 0 !important;
  padding: 0 !important;
}

.msj-hf-enabled .site,
.msj-hf-enabled #page,
.msj-hf-enabled .site-content,
.msj-hf-enabled .content-area,
.msj-hf-enabled .wp-site-blocks {
  margin-top: 0 !important;
  padding-top: 0 !important;
}


.msj-shell {
  font-family: 'Poppins', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

.msj-shell__inner {
  width: min(calc(100% - 32px), var(--msj-width));
  margin-inline: auto;
}

.msj-header,
.msj-footer {
  color: var(--msj-text);
  position: relative;
  overflow: visible;
}

.msj-header {
  display: block;
  z-index: 90;
  position: sticky;
  top: var(--msj-header-offset, 0px);
  background:
    radial-gradient(circle at 12% 8%, rgba(157, 86, 255, 0.18), transparent 18%),
    radial-gradient(circle at 88% 12%, rgba(255, 79, 155, 0.12), transparent 20%),
    linear-gradient(135deg, var(--msj-bg-1), var(--msj-bg-2) 58%, var(--msj-bg-3));
  border-bottom: 1px solid var(--msj-border-soft);
  box-shadow: var(--msj-shadow);
}

.admin-bar {
  --msj-header-offset: 32px;
}

@media screen and (max-width: 782px) {
  .admin-bar {
    --msj-header-offset: 46px;
  }
}

.msj-header::before,
.msj-footer::before {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.028) 1px, transparent 1px);
  background-size: 58px 58px;
  opacity: .42;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.85), transparent 86%);
}

.msj-header__row {
  position: relative;
  z-index: 1;
  display: grid;
  align-items: center;
}

body.msj-hf-enabled > .msj-header {
  margin-top: 0 !important;
}

.msj-header__row--top {
  grid-template-columns: minmax(360px, 1.45fr) minmax(320px, 1fr);
  gap: 16px;
  padding: 10px 0 8px;
  z-index: 4;
}

.msj-brand,
.msj-footer__brand {
  text-decoration: none;
  color: inherit;
}

.msj-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.msj-brand img {
  width: 48px;
  height: 48px;
  object-fit: contain;
  flex: 0 0 48px;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.25));
}

.msj-brand-copy {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.msj-brand-copy__eyebrow {
  font-size: 10px;
  letter-spacing: 0.18em;
  font-weight: 700;
  color: rgba(255,255,255,0.54);
  margin-bottom: 2px;
}

.msj-brand-copy__title {
  color: #fff;
  font-size: clamp(21px, 2vw, 31px);
  line-height: 1.04;
  font-weight: 800;
  letter-spacing: -0.03em;
  text-wrap: balance;
}

.msj-brand-copy__subtitle {
  margin-top: 4px;
  color: var(--msj-muted);
  font-size: 11px;
  line-height: 1.35;
  font-weight: 500;
}

.msj-header__utility {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  min-width: 0;
  flex-wrap: wrap;
}

.msj-header__utility-group {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.msj-header__utility-group--social,
.msj-header__utility-group--meta {
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  border: 1px solid var(--msj-border-soft);
}

.msj-header__utility-group--meta {
  padding-right: 10px;
  align-items: flex-start;
  gap: 12px;
  position: relative;
  z-index: 5;
}

.msj-header__socials,
.msj-footer__socials {
  display: flex;
  align-items: center;
  gap: 8px;
}

.msj-social {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: #fff;
  box-shadow: 0 8px 15px rgba(0,0,0,0.16);
  transition: transform .18s ease, filter .18s ease, box-shadow .18s ease;
}

.msj-social:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
  box-shadow: 0 10px 18px rgba(0,0,0,0.2);
}

.msj-social svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.msj-social--youtube { background: #ff1f1f; }
.msj-social--facebook { background: #1877f2; }
.msj-social--whatsapp { background: #25d366; }

.msj-demo-btn,
.msj-drawer-btn {
  text-decoration: none;
  color: #fff;
}

.msj-demo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  background: var(--msj-accent-grad);
  border-radius: 999px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: 0 10px 20px rgba(168, 81, 247, 0.22);
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  font-size: 13px;
}

.msj-demo-btn:hover,
.msj-footer__cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.04);
  box-shadow: 0 12px 24px rgba(168, 81, 247, 0.28);
}

.msj-header__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.msj-user-widget-wrap {
  min-width: 0;
  line-height: 1;
  flex: 1 1 auto;
  position: relative;
  z-index: 6;
}

.msj-user-widget-wrap > * {
  max-width: 100%;
}

.msj-user-widget-wrap img,
.msj-user-widget-wrap svg {
  max-height: 20px;
}

.msj-cart-toggle {
  position: relative;
  align-self: flex-start;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
}

.msj-cart-toggle .dashicons {
  font-size: 16px;
  width: 16px;
  height: 16px;
}

.msj-cart-count {
  position: absolute;
  top: -4px;
  right: -4px;
  min-width: 17px;
  height: 17px;
  border-radius: 999px;
  background: #ffcd29;
  color: #111;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  padding: 0 4px;
}

.msj-header__row--nav {
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 8px 0 10px;
  border-top: 1px solid var(--msj-border-soft);
  z-index: 1;
}

.msj-main-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  align-items: center;
}

.msj-nav-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  color: rgba(255,255,255,0.84);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.2;
  transition: color .18s ease;
}

.msj-nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: -5px;
  height: 2px;
  border-radius: 999px;
  background: var(--msj-accent-grad);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .18s ease;
}

.msj-nav-link:hover,
.msj-nav-link:focus-visible,
.msj-nav-link.is-active {
  color: #fff;
}

.msj-nav-link:hover::after,
.msj-nav-link:focus-visible::after,
.msj-nav-link.is-active::after {
  transform: scaleX(1);
}

.msj-nav-link--button {
  border: 0;
  cursor: pointer;
  padding: 0;
  background: transparent;
}

.msj-more-menu {
  position: relative;
}

.msj-more-toggle .dashicons {
  font-size: 12px;
  width: 12px;
  height: 12px;
  margin-left: 5px;
}

.msj-more-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  min-width: 170px;
  padding: 8px;
  border-radius: 14px;
  background: rgba(7,10,18,0.98);
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 16px 34px rgba(0,0,0,0.30);
  transform: translateX(-50%) translateY(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}

.msj-more-menu:hover .msj-more-dropdown,
.msj-more-menu.is-open .msj-more-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.msj-more-dropdown__link {
  display: block;
  padding: 9px 11px;
  border-radius: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
}

.msj-more-dropdown__link:hover,
.msj-more-dropdown__link.is-active {
  background: linear-gradient(135deg, rgba(255,79,155,0.12), rgba(157,86,255,0.14));
}

.msj-header__nav-tools {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.msj-mobile-nav-toggle {
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.14);
  background: rgba(255,255,255,0.06);
  color: #fff;
  cursor: pointer;
  font-weight: 700;
}

.msj-mobile-nav-toggle .dashicons {
  font-size: 18px;
  width: 18px;
  height: 18px;
}

.msj-mobile-panel {
  display: none;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(7,10,18,0.95);
}

.msj-mobile-panel__inner {
  padding: 12px 0 16px;
}

.msj-mobile-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.msj-mobile-nav__link {
  display: block;
  padding: 12px 14px;
  border-radius: 12px;
  background: rgba(255,255,255,0.05);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  border: 1px solid rgba(255,255,255,0.08);
}

.msj-mobile-nav__link.is-active {
  background: rgba(255,255,255,0.11);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
}

.msj-footer {
  margin-top: 30px;
  background:
    radial-gradient(circle at bottom right, rgba(157, 86, 255, 0.14), transparent 20%),
    radial-gradient(circle at bottom left, rgba(255, 79, 155, 0.11), transparent 20%),
    linear-gradient(135deg, #06070f, #0d1430 58%, #151b37);
  border-top: 1px solid rgba(255,255,255,0.08);
}

.msj-footer__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(280px, 1.06fr) minmax(560px, 1.4fr);
  gap: 32px;
  padding: 24px 0 18px;
}

.msj-footer__brandblock {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.msj-footer__brand {
  display: inline-flex;
  align-items: flex-start;
  gap: 12px;
}

.msj-footer__brand img {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
  filter: drop-shadow(0 8px 16px rgba(0,0,0,0.24));
}

.msj-footer__brand-title {
  display: block;
  color: #fff;
  font-size: clamp(19px, 1.7vw, 26px);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.msj-footer__brand-subtitle {
  display: block;
  margin-top: 5px;
  color: var(--msj-muted);
  font-size: 14px;
  line-height: 1.5;
  max-width: 450px;
}

.msj-footer__science {
  margin: 0;
  color: #91ff12;
  font-size: 16px;
  line-height: 1.45;
}

.msj-footer__links-wrap {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.msj-footer__links-col {
  display: flex;
  flex-direction: column;
  gap: 9px;
  align-items: flex-start;
}

.msj-footer__links-col h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.msj-footer__link {
  color: rgba(255,255,255,0.80);
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.35;
  transition: color .18s ease, transform .18s ease;
}

.msj-footer__link:hover,
.msj-footer__link:focus-visible {
  color: #fff;
  transform: translateX(2px);
}

.msj-footer__links-col--cta {
  padding-left: 6px;
}

.msj-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
  background: var(--msj-accent-grad);
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  box-shadow: 0 10px 20px rgba(168, 81, 247, 0.22);
}

.msj-footer__microcopy {
  margin: 2px 0 0;
  color: var(--msj-muted);
  font-size: 13px;
  line-height: 1.5;
  max-width: 200px;
}

.msj-footer__bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255,255,255,0.08);
  text-align: center;
  padding: 12px 0 15px;
}

.msj-footer__copy {
  margin: 0;
  color: rgba(255,255,255,0.88);
  font-weight: 600;
  font-size: 13px;
}

.msj-cart-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.42);
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease;
  z-index: 9988;
}

.msj-cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: min(92vw, 380px);
  height: 100dvh;
  background: #fff;
  color: #111827;
  box-shadow: -20px 0 50px rgba(0,0,0,0.24);
  transform: translateX(100%);
  transition: transform .22s ease;
  z-index: 9989;
  display: flex;
  flex-direction: column;
}

body.msj-cart-open .msj-cart-overlay {
  opacity: 1;
  pointer-events: auto;
}

body.msj-cart-open .msj-cart-drawer {
  transform: translateX(0);
}

.msj-cart-drawer__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 18px;
  border-bottom: 1px solid #e5e7eb;
}

.msj-cart-drawer__header h2 {
  margin: 0;
  font-size: 26px;
  line-height: 1.15;
}

.msj-cart-close {
  width: 40px;
  height: 40px;
  display: inline-grid;
  place-items: center;
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.msj-mini-cart-contents {
  flex: 1 1 auto;
  overflow: auto;
  padding: 12px 18px;
}

.msj-cart-drawer__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 16px 18px 20px;
  border-top: 1px solid #e5e7eb;
  background: #fff;
}

.msj-drawer-btn {
  border-radius: 12px;
  padding: 12px 14px;
  background: var(--msj-accent-grad);
  text-align: center;
  font-weight: 800;
}

.msj-drawer-btn--secondary {
  background: #fff;
  color: #111827;
  border: 1px solid #d1d5db;
}

.msj-mini-cart-contents .woocommerce-mini-cart {
  list-style: none;
  margin: 0;
  padding: 0;
}

.msj-mini-cart-contents .woocommerce-mini-cart-item {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px 0;
  border-bottom: 1px solid #eceff3;
}

.msj-mini-cart-contents a {
  color: inherit;
}

.msj-mini-cart-contents .quantity,
.msj-mini-cart-contents .woocommerce-mini-cart__total {
  display: block;
  margin-top: 8px;
  font-weight: 700;
}

.msj-mini-cart-contents .woocommerce-mini-cart__buttons {
  display: none;
}

@media (max-width: 1320px) {
  .msj-header__row--top,
  .msj-header__row--nav,
  .msj-footer__grid {
    grid-template-columns: 1fr;
  }

  .msj-header__utility {
    justify-content: flex-start;
  }

  .msj-header__nav-tools {
    justify-content: flex-start;
  }

  .msj-main-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 980px) {
  .msj-shell__inner {
    width: min(calc(100% - 22px), var(--msj-width));
  }

  .msj-header {
    position: relative;
    top: auto;
  }

  .msj-brand-copy__title {
    font-size: clamp(20px, 5vw, 28px);
  }

  .msj-brand-copy__subtitle {
    font-size: 12px;
  }

  .msj-main-nav {
    display: none;
  }

  .msj-mobile-nav-toggle,
  .msj-mobile-panel {
    display: flex;
  }

  .msj-mobile-panel {
    display: none;
  }

  .msj-mobile-panel.is-open {
    display: block;
  }

  .msj-header__row--nav {
    grid-template-columns: minmax(0, 1fr) auto;
  }

  .msj-header__nav-tools {
    display: flex;
    justify-content: flex-end;
  }

  .msj-footer__links-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 22px;
  }

  .msj-footer__links-col--cta {
    grid-column: 1 / -1;
    padding-left: 0;
    align-items: center;
    text-align: center;
  }

  .msj-footer__microcopy {
    max-width: 230px;
  }
}

@media (max-width: 720px) {
  .msj-header__row--top {
    padding: 10px 0 8px;
    gap: 12px;
  }

  .msj-brand {
    gap: 10px;
  }

  .msj-brand img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .msj-header__utility {
    justify-content: center;
    gap: 8px;
  }

  .msj-header__utility-group {
    width: 100%;
    justify-content: center;
  }

  .msj-header__utility-group--meta {
    width: 100%;
    max-width: 100%;
    justify-content: space-between;
    align-items: flex-start;
  }

  .msj-header__row--nav {
    gap: 10px;
    padding: 8px 0 10px;
  }

  .msj-header__nav-tools {
    justify-content: center;
  }

  .msj-footer__brand {
    align-items: center;
  }

  .msj-footer__brand-title {
    font-size: 21px;
  }
}

@media (max-width: 640px) {
  .msj-header__row--top {
    gap: 12px;
    padding: 8px 0 6px;
  }

  .msj-header__utility {
    gap: 8px;
  }

  .msj-header__utility-group--social,
  .msj-header__utility-group--meta {
    padding: 5px 8px;
  }

  .msj-demo-btn {
    width: min(100%, 290px);
    min-height: 40px;
    padding: 0 14px;
    text-align: center;
  }

  .msj-mobile-nav-toggle {
    width: 100%;
    justify-content: center;
  }

  .msj-footer__grid {
    gap: 22px;
    padding: 20px 0 14px;
  }

  .msj-footer__brandblock {
    gap: 12px;
  }

  .msj-footer__links-wrap {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 18px;
  }

  .msj-footer__links-col {
    gap: 7px;
  }

  .msj-footer__links-col h3 {
    margin-bottom: 4px;
  }

  .msj-footer__links-col--cta {
    grid-column: 1 / -1;
  }

  .msj-footer__cta {
    width: min(100%, 220px);
    min-height: 34px;
    padding: 0 12px;
    margin-inline: auto;
  }

  .msj-footer__microcopy {
    max-width: 240px;
    margin-inline: auto;
    text-align: center;
  }

  .msj-footer__bottom {
    padding: 10px 0 12px;
  }
}

@media (max-width: 560px) {
  .msj-mobile-nav {
    grid-template-columns: 1fr;
  }

  .msj-header__utility-group--meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    width: 100%;
  }

  .msj-user-widget-wrap {
    flex: none;
    width: 100%;
    min-width: 0;
  }

  .msj-cart-toggle {
    margin-top: 0;
    flex: 0 0 34px;
    justify-self: end;
    align-self: center;
  }

  .msj-cart-drawer__actions {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 420px) {
  .msj-shell__inner {
    width: min(calc(100% - 18px), var(--msj-width));
  }

  .msj-brand {
    gap: 10px;
  }

  .msj-brand img {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .msj-brand-copy__eyebrow {
    font-size: 9px;
  }

  .msj-brand-copy__title {
    font-size: clamp(18px, 8vw, 24px);
  }

  .msj-brand-copy__subtitle {
    font-size: 11px;
  }

  .msj-footer__brand-subtitle,
  .msj-footer__science {
    font-size: 13px;
  }
}


html body.msj-hf-enabled {
  background-color: #fff;
}
