/* =========================================================
   BLUE VOLT — SITE SHELL + THEME LAYER
   Global Styles v1.1.1
   ---------------------------------------------------------
   Purpose:
   - Keep header/footer outside Elementor so they render
     consistently after migrations/cache rebuilds.
   - Bound logo dimensions even before complex page CSS loads.
   - Provide responsive navigation and an optional light/dark
     preference without changing intentionally dark product
     sections.
   ========================================================= */

:root {
  --bv-shell-header-h: 82px;
  --bv-shell-bg: #ffffff;
  --bv-shell-bg-soft: #f6f9fd;
  --bv-shell-text: #0b1726;
  --bv-shell-muted: #5d6876;
  --bv-shell-border: #e3e9ef;
  --bv-shell-card: #ffffff;
  --bv-shell-shadow: 0 12px 38px rgba(8, 19, 32, .09);
}

body.bv-site {
  margin: 0;
}

body.bv-site[data-bv-theme-resolved="dark"] {
  --bv-shell-bg: #0a1521;
  --bv-shell-bg-soft: #101e2c;
  --bv-shell-text: #f4f7fb;
  --bv-shell-muted: #aeb8c4;
  --bv-shell-border: #243447;
  --bv-shell-card: #122132;
  --bv-shell-shadow: 0 16px 44px rgba(0, 0, 0, .28);
  background: #08131f;
  color: #edf3f9;
}

/* =========================================================
   HEADER
   ========================================================= */

.bv-site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  width: 100%;
  min-height: var(--bv-shell-header-h);
  background: rgba(255, 255, 255, .97);
  border-bottom: 1px solid var(--bv-shell-border);
  box-shadow: 0 3px 20px rgba(8, 19, 32, .035);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

body[data-bv-theme-resolved="dark"] .bv-site-header {
  background: rgba(10, 21, 33, .96);
  box-shadow: 0 4px 24px rgba(0, 0, 0, .18);
}

.bv-site-header__inner {
  width: min(calc(100% - 48px), var(--bv-container, 1200px));
  min-height: var(--bv-shell-header-h);
  margin-inline: auto;
  display: grid;
  grid-template-columns: minmax(220px, 290px) 1fr auto;
  align-items: center;
  gap: 30px;
}

.bv-site-header__brand {
  text-decoration: none;
  overflow: hidden;
}

.bv-site-header__logo-img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 240px !important;
  max-height: 100px !important;
  object-fit: contain !important;
}

.bv-site-header__logo-img--dark {
  display: none !important;
}

body[data-bv-theme-resolved="dark"] .bv-site-header__logo-img--light {
  display: none !important;
}

body[data-bv-theme-resolved="dark"] .bv-site-header__logo-img--dark {
  display: block !important;
}

.bv-site-logo-text {
  color: var(--bv-shell-text);
  font-family: "Montserrat", Arial, sans-serif;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.15;
}

.bv-site-header__nav {
  justify-self: end;
}

.bv-site-header__nav ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 28px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bv-site-header__nav a:not(.bv-btn) {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  color: var(--bv-shell-text);
  font-family: "Inter", Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

.bv-site-header__nav a:not(.bv-btn)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 5px;
  height: 2px;
  border-radius: 2px;
  background: var(--bv-blue);
  transition: right .22s ease;
}

.bv-site-header__nav a:not(.bv-btn):hover {
  color: var(--bv-blue);
}

.bv-site-header__nav a:not(.bv-btn):hover::after {
  right: 0;
}

.bv-site-header__actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.bv-site-header__cta {
  min-height: 46px !important;
  padding: 11px 18px !important;
  white-space: nowrap;
}

.bv-theme-toggle,
.bv-site-header__menu-toggle {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--bv-shell-border);
  background: var(--bv-shell-card);
  color: var(--bv-shell-text);
  box-shadow: none;
  cursor: pointer;
}

.bv-theme-toggle {
  position: relative;
  width: 42px !important;
  min-width: 42px !important;
  max-width: 42px !important;
  height: 42px !important;
  min-height: 42px !important;
  padding: 0 !important;
  margin: 0 !important;
  flex: 0 0 42px;
  display: inline-grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  line-height: 1 !important;
  transition: border-color .2s ease, background-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

/* Neutralize theme/button pseudo-elements from page builders or global styles. */
.bv-theme-toggle::before,
.bv-theme-toggle::after {
  display: none !important;
  content: none !important;
}

.bv-theme-toggle:hover {
  border-color: rgba(10, 102, 255, .42);
  background: rgba(10, 102, 255, .07);
  box-shadow: 0 7px 18px rgba(10, 102, 255, .12);
  transform: translateY(-1px);
}

body[data-bv-theme-resolved="dark"] .bv-theme-toggle:hover {
  background: rgba(109, 168, 255, .12);
}

.bv-theme-toggle > span {
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.bv-theme-toggle .bv-fa-icon {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0 !important;
}

.bv-theme-toggle__sun {
  display: inline-flex;
}

.bv-theme-toggle__moon {
  display: none;
}

body[data-bv-theme-resolved="dark"] .bv-theme-toggle__sun {
  display: none;
}

body[data-bv-theme-resolved="dark"] .bv-theme-toggle__moon {
  display: inline-flex;
}

.bv-site-header__menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 11px;
}

.bv-site-header__menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 4px auto;
  border-radius: 3px;
  background: currentColor;
  transition: transform .22s ease, opacity .22s ease;
}

.bv-site-header.is-menu-open .bv-site-header__menu-toggle span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.bv-site-header.is-menu-open .bv-site-header__menu-toggle span:nth-child(2) {
  opacity: 0;
}

.bv-site-header.is-menu-open .bv-site-header__menu-toggle span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.bv-site-header__mobile-cta {
  display: none;
}

/* =========================================================
   FOOTER
   ========================================================= */

.bv-site-footer {
  position: relative;
  z-index: 1;
  overflow: hidden;
  background:
    radial-gradient(circle at 12% 10%, rgba(10, 102, 255, .14), transparent 34%),
    #07121e;
  color: #fff;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.bv-site-footer__inner {
  width: min(calc(100% - 48px), var(--bv-container, 1200px));
  margin-inline: auto;
  padding: 64px 0 48px;
  display: grid;
  grid-template-columns: 1.15fr .72fr .9fr 1.15fr;
  gap: 42px;
  align-items: start;
}

.bv-site-footer h3 {
  margin: 0 0 18px;
  color: #fff !important;
  font-size: 15px;
  font-weight: 800;
}

.bv-site-footer p,
.bv-site-footer li,
.bv-site-footer small {
  color: rgba(255, 255, 255, .66) !important;
}

.bv-site-footer a {
  color: rgba(255, 255, 255, .78);
  text-decoration: none;
}

.bv-site-footer a:hover {
  color: #fff;
}

.bv-site-footer__brand > p {
  max-width: 280px;
  margin: 20px 0 0;
  font-size: 13px;
  line-height: 1.65;
}

.bv-site-footer__logo-card {
  min-height: 56px;
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.bv-site-footer__logo-img {
  display: block !important;
  width: auto !important;
  height: auto !important;
  max-width: 240px !important;
  max-height: 72px !important;
  object-fit: contain !important;
}

.bv-site-footer__logo-text {
  color: #07121e;
  font-family: "Montserrat", Arial, sans-serif;
  font-weight: 800;
}

.bv-site-footer__nav ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.bv-site-footer__nav li + li {
  margin-top: 11px;
}

.bv-site-footer__nav a {
  font-size: 13px;
}

.bv-site-footer__contact-item {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: start;
}

.bv-site-footer__contact .bv-footer__contact-item + .bv-footer__contact-item {
  margin-top: 14px;
}

.bv-site-footer__contact .bv-footer__contact-icon {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 9px;
  color: #7db2ff;
  background: rgba(10, 102, 255, .13);
  border: 1px solid rgba(109, 168, 255, .16);
}

.bv-site-footer__contact .bv-footer__contact-item > div:last-child {
  display: grid;
  gap: 2px;
}

.bv-site-footer__contact small {
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.bv-site-footer__contact strong {
  color: #fff !important;
  font-size: 12px;
  word-break: break-word;
}

.bv-site-footer__license {
  padding: 20px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .10);
}

.bv-site-footer__license .bv-footer__license-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 13px;
  border-bottom: 1px solid rgba(255, 255, 255, .10);
}

.bv-site-footer__license .bv-footer__license-heading strong {
  color: #fff !important;
  font-size: 12px;
}

.bv-site-footer__license .bv-footer__license-icon {
  color: #6eaaff;
}

.bv-site-footer__license .bv-footer__license-section {
  margin-top: 14px;
}

.bv-site-footer__license .bv-footer__license-section strong {
  display: block;
  margin: 2px 0 6px;
  color: #fff !important;
  font-size: 12px;
  line-height: 1.35;
}

.bv-site-footer__license .bv-footer__license-section p {
  margin: 2px 0;
  font-size: 10px;
  line-height: 1.45;
}

.bv-site-footer__bottom {
  border-top: 1px solid rgba(255, 255, 255, .09);
}

.bv-site-footer__bottom-inner {
  width: min(calc(100% - 48px), var(--bv-container, 1200px));
  margin-inline: auto;
  padding: 18px 0 22px;
  color: rgba(255, 255, 255, .58);
  font-size: 11px;
  text-align: center;
}

.bv-site-footer__bottom-inner strong {
  color: #fff !important;
}

/* =========================================================
   LIGHT / DARK SURFACES
   ---------------------------------------------------------
   Dark mode intentionally does not recolor the product hero,
   EcoFlow feature, energy-control or final CTA sections: they
   are already dark by design. It only adapts sections that are
   light in the default composition.
   ========================================================= */

body[data-bv-theme-resolved="dark"] :is(
  .bv-trust,
  .bv-why,
  .bv-process,
  .bv-advantages,
  .bv-ocean-intro,
  .bv-ocean-features,
  .bv-ocean-install,
  .bv-ocean-fit,
  .bv-ocean-faq
) {
  background: #0b1724 !important;
  border-color: #243447 !important;
}

body[data-bv-theme-resolved="dark"] :is(
  .bv-why__statement,
  .bv-why__badge,
  .bv-advantage-card,
  .bv-ocean-feature,
  .bv-ocean-fit__card,
  .bv-ocean-faq__item,
  .bv-ocean-install__badge,
  .bv-ocean-intro__callout,
  .bv-ocean-intro__floating
) {
  background: #122131 !important;
  border-color: #2a3b4f !important;
  box-shadow: 0 14px 38px rgba(0, 0, 0, .16) !important;
}

body[data-bv-theme-resolved="dark"] :is(
  .bv-process__icon,
  .bv-ocean-install__number
) {
  background: #132438 !important;
  border-color: rgba(109, 168, 255, .25) !important;
}

body[data-bv-theme-resolved="dark"] :is(
  .bv-why__title,
  .bv-why__title span,
  .bv-process__title,
  .bv-process__step h3,
  .bv-advantages__title,
  .bv-advantage-card h3,
  .bv-ocean-intro__title,
  .bv-ocean-features__title,
  .bv-ocean-feature h3,
  .bv-ocean-install__title,
  .bv-ocean-install__step h3,
  .bv-ocean-fit__title,
  .bv-ocean-fit__card h3,
  .bv-ocean-faq__title,
  .bv-ocean-faq__question,
  .bv-why__statement p,
  .bv-why__badge strong,
  .bv-ocean-install__badge strong
) {
  color: #f5f8fc !important;
}

body[data-bv-theme-resolved="dark"] :is(
  .bv-why__text,
  .bv-process__intro,
  .bv-process__step p,
  .bv-advantages__intro,
  .bv-advantage-card p,
  .bv-ocean-intro__lead,
  .bv-ocean-intro__text,
  .bv-ocean-features__intro,
  .bv-ocean-feature p,
  .bv-ocean-install__intro,
  .bv-ocean-install__text,
  .bv-ocean-install__step p,
  .bv-ocean-fit__intro,
  .bv-ocean-fit__card p,
  .bv-ocean-faq__answer,
  .bv-why__badge small
) {
  color: #aeb9c5 !important;
}

body[data-bv-theme-resolved="dark"] .bv-process {
  background: linear-gradient(180deg, #0b1724 0%, #0e1c2a 100%) !important;
}

body[data-bv-theme-resolved="dark"] .bv-advantages {
  background: #0e1c2a !important;
}

/* =========================================================
   RESPONSIVE SHELL
   ========================================================= */

@media (max-width: 980px) {
  .bv-site-header__logo-img {
    max-width: 240px !important;
    max-height: 100px !important;
  }

  .bv-site-header__inner {
    width: min(calc(100% - 36px), var(--bv-container, 1200px));
    grid-template-columns: minmax(150px, 1fr) auto;
    gap: 16px;
  }

  .bv-site-header__nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 18px;
    right: 18px;
    display: block;
    padding: 12px;
    background: var(--bv-shell-bg);
    border: 1px solid var(--bv-shell-border);
    border-radius: 14px;
    box-shadow: var(--bv-shell-shadow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
  }

  .bv-site-header.is-menu-open .bv-site-header__nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .bv-site-header__nav ul {
    display: grid;
    gap: 2px;
  }

  .bv-site-header__nav a:not(.bv-btn) {
    width: 100%;
    min-height: 46px;
    padding: 0 12px;
    border-radius: 9px;
  }

  .bv-site-header__nav a:not(.bv-btn):hover {
    background: var(--bv-shell-bg-soft);
  }

  .bv-site-header__nav a:not(.bv-btn)::after {
    display: none;
  }

  .bv-site-header__menu-toggle {
    display: inline-block;
  }

  .bv-site-header__cta {
    display: none !important;
  }

  .bv-site-header__mobile-cta {
    display: block;
    padding-top: 6px;
  }

  .bv-site-header__mobile-cta .bv-btn {
    width: 100%;
  }

  .bv-site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  :root {
    --bv-shell-header-h: 72px;
  }

  .bv-site-header__inner,
  .bv-site-footer__inner,
  .bv-site-footer__bottom-inner {
    width: min(calc(100% - 28px), var(--bv-container, 1200px));
  }

  .bv-site-header__logo-img {
    max-width: 180px !important;
    max-height: 100px !important;
  }

  .bv-theme-toggle {
    width: 40px;
    height: 40px;
  }

  .bv-site-header__menu-toggle {
    width: 42px;
    height: 42px;
  }

  .bv-site-footer__inner {
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 48px 0 36px;
  }

  .bv-site-footer__brand > p {
    max-width: 100%;
  }
}

/* If the admin bar is visible, keep sticky header below it. */
body.admin-bar .bv-site-header {
  top: 32px;
}

@media (max-width: 782px) {
  body.admin-bar .bv-site-header {
    top: 46px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bv-site-header__nav,
  .bv-theme-toggle,
  .bv-site-header__menu-toggle span {
    transition: none !important;
  }
}
