#fronze-darkmode-widget{position:fixed;right:22px;bottom:92px;z-index:999999}
#fronze-darkmode-toggle{all:initial;box-sizing:border-box;width:54px;height:54px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#191919;color:#fff;border:1px solid #333;box-shadow:0 3px 12px #0003;cursor:pointer;transition:background .2s,border-color .2s}
#fronze-darkmode-toggle:hover{background:#1677ff;border-color:#1677ff;outline:none;box-shadow:0 3px 12px #0003}
#fronze-darkmode-toggle svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#fronze-darkmode-toggle .fronze-darkmode-icon-moon{display:none}
html.fronze-darkmode-on #fronze-darkmode-toggle .fronze-darkmode-icon-sun{display:none}
html.fronze-darkmode-on #fronze-darkmode-toggle .fronze-darkmode-icon-moon{display:block}
#fronze-darkmode-toggle:focus-visible{outline:2px solid #1677ff;outline-offset:3px}
/* Keep body itself unfiltered so fixed-position controls remain viewport-fixed. */
html.fronze-darkmode-on body{background:#fff!important}
html.fronze-darkmode-on body > *:not(#fronze-darkmode-widget):not(#fronze-a11y):not(#wpadminbar):not(footer):not(#colophon):not(#site-footer):not(.site-footer):not(.elementor-location-footer):not([data-elementor-type="footer"]){
  filter:invert(1) hue-rotate(180deg)!important;
}
/* Restore media to its original colors after the parent inversion. */
html.fronze-darkmode-on body > *:not(#fronze-darkmode-widget):not(#fronze-a11y):not(#wpadminbar):not(footer):not(#colophon):not(#site-footer):not(.site-footer):not(.elementor-location-footer):not([data-elementor-type="footer"]) :is(img,video,iframe,canvas,embed,object,svg){
  filter:invert(1) hue-rotate(180deg)!important;
}
html.fronze-darkmode-on #fronze-darkmode-widget,
html.fronze-darkmode-on #fronze-darkmode-widget *{filter:none!important}






/* Footer exception: the page wrapper is inverted, so invert the footer once
   more to preserve its original colors and appearance. */
html.fronze-darkmode-on body :is(
  footer,
  #colophon,
  #site-footer,
  .site-footer,
  .footer,
  .elementor-location-footer,
  [data-elementor-type="footer"]
){
  filter:invert(1) hue-rotate(180deg)!important;
}
/* Keep the floating accessibility control outside the transformed footer. */
html.fronze-darkmode-on body :is(
  footer,
  #colophon,
  #site-footer,
  .site-footer,
  .footer,
  .elementor-location-footer,
  [data-elementor-type="footer"]
) #fronze-a11y{
  filter:invert(1) hue-rotate(180deg)!important;
}

/* White Elementor curved separators become dark after the parent inversion.
   Use white as the source fill so the global inversion renders it black. */
html.fronze-darkmode-on body .elementor-shape-divider .elementor-shape-fill{
  fill:#fff!important;
}
html.fronze-darkmode-on body .elementor-shape-divider svg{
  color:#fff!important;
}
html.fronze-darkmode-on body .elementor-shape-divider{
  background:transparent!important;
}




/* v1.0.8: Force the complete Kadence and custom FRONZE footer surfaces dark.
   The custom footer widget contains its own body background and divider rules. */
html.fronze-darkmode-on body,
html.fronze-darkmode-on body #colophon,
html.fronze-darkmode-on body #colophon .site-footer-wrap,
html.fronze-darkmode-on body #colophon .site-top-footer-wrap,
html.fronze-darkmode-on body #colophon .site-footer-row-container-inner,
html.fronze-darkmode-on body #colophon .site-top-footer-inner-wrap,
html.fronze-darkmode-on body #colophon .footer-widget-area,
html.fronze-darkmode-on body #colophon .footer-widget-area-inner,
html.fronze-darkmode-on body #colophon .widget,
html.fronze-darkmode-on body #colophon .fronze-footer {
  background-color: #1d1d1d !important;
  background-image: none !important;
}
html.fronze-darkmode-on body #colophon,
html.fronze-darkmode-on body #colophon * {
  border-color: transparent !important;
  box-shadow: none !important;
}
html.fronze-darkmode-on body #colophon :is(
  .site-footer-row-container-inner,
  .site-top-footer-wrap,
  .fronze-footer__topline,
  .fronze-footer__bottom
) {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}
html.fronze-darkmode-on body #colophon .fronze-footer {
  color: #f5f5f5 !important;
}


/* v1.0.9: Footer is moved to a body-level sibling by darkmode.js.
   It is therefore no longer inverted with the WordPress page wrapper. */
html.fronze-darkmode-on body > #colophon,
html.fronze-darkmode-on body > #colophon.site-footer,
html.fronze-darkmode-on body > #colophon .site-footer-wrap,
html.fronze-darkmode-on body > #colophon .site-top-footer-wrap,
html.fronze-darkmode-on body > #colophon .site-footer-row-container-inner,
html.fronze-darkmode-on body > #colophon .site-top-footer-inner-wrap,
html.fronze-darkmode-on body > #colophon .footer-widget-area,
html.fronze-darkmode-on body > #colophon .footer-widget-area-inner,
html.fronze-darkmode-on body > #colophon .widget,
html.fronze-darkmode-on body > #colophon .fronze-footer {
  filter: none !important;
  background: #1d1d1d !important;
  background-color: #1d1d1d !important;
  background-image: none !important;
  color: #f5f5f5 !important;
}
html.fronze-darkmode-on body > #colophon :is(
  .site-footer-row-container-inner,
  .fronze-footer__topline,
  .fronze-footer__bottom
) {
  border: 0 !important;
  border-top: 0 !important;
  border-bottom: 0 !important;
}
html.fronze-darkmode-on body > #colophon *,
html.fronze-darkmode-on body > #colophon *::before,
html.fronze-darkmode-on body > #colophon *::after {
  border-top-color: transparent !important;
  border-right-color: transparent !important;
  border-bottom-color: transparent !important;
  border-left-color: transparent !important;
}


/* v1.1.0: The remaining white curved strip is the unfiltered body background
   visible through the rounded lower edge of the inverted WordPress wrapper.
   Keep the root canvas dark so the exposed area matches the footer. */
html.fronze-darkmode-on,
html.fronze-darkmode-on body {
  background: #1d1d1d !important;
  background-color: #1d1d1d !important;
}


/* v1.1.1: Kadence curved row separator on the FRONZE homepage.
   This SVG sits inside the inverted page wrapper. Use the inverse of the
   desired dark surface as its source fill so the wrapper filter renders it
   as #1d1d1d in Darkmode. The normal/light mode remains untouched. */
html.fronze-darkmode-on body .kb-row-layout-id43_97d926-5b .kt-row-layout-bottom-sep svg,
html.fronze-darkmode-on body .kb-row-layout-id43_97d926-5b .kt-row-layout-bottom-sep svg path {
  fill: #e2e2e2 !important;
}


/* v1.1.2: Directly invert ONLY the Kadence curved separator.
   The previous fill override did not affect the rendered strip reliably.
   Applying the filter to the separator element itself changes its visible
   white pixels to dark without inverting the surrounding row or page. */
html.fronze-darkmode-on .kb-row-layout-id43_97d926-5b > .kt-row-layout-bottom-sep.kt-row-sep-type-crvi {
  filter: invert(1) hue-rotate(180deg) !important;
}
html.fronze-darkmode-on .kb-row-layout-id43_97d926-5b > .kt-row-layout-bottom-sep.kt-row-sep-type-crvi svg,
html.fronze-darkmode-on .kb-row-layout-id43_97d926-5b > .kt-row-layout-bottom-sep.kt-row-sep-type-crvi svg path {
  fill: #fff !important;
}


/* v1.1.3: Global Kadence row separators on every WordPress page.
   Kadence outputs both top and bottom SVG separators with page-specific row IDs.
   The page wrapper already receives the darkmode inversion. Do not invert the
   separator a second time and do not restore the SVG independently. Let the
   existing page inversion turn the separator itself dark. */
html.fronze-darkmode-on body .kt-row-layout-top-sep,
html.fronze-darkmode-on body .kt-row-layout-bottom-sep {
  filter: none !important;
}
html.fronze-darkmode-on body .kt-row-layout-top-sep svg,
html.fronze-darkmode-on body .kt-row-layout-top-sep svg path,
html.fronze-darkmode-on body .kt-row-layout-bottom-sep svg,
html.fronze-darkmode-on body .kt-row-layout-bottom-sep svg path {
  filter: none !important;
  fill: #fff !important;
}


/* v1.1.5: Global Kadence separator correction.
   Kadence emits page-specific inline CSS selectors (including row IDs) that
   force separator SVGs to palette9 white. This selector deliberately has
   higher specificity than those generated rules and covers every row/page.
   The page wrapper's existing darkmode inversion then renders white source
   shapes as dark, without filtering or changing the surrounding content. */
html.fronze-darkmode-on body .kb-row-layout-wrap .kt-row-layout-top-sep svg,
html.fronze-darkmode-on body .kb-row-layout-wrap .kt-row-layout-top-sep svg path,
html.fronze-darkmode-on body .kb-row-layout-wrap .kt-row-layout-bottom-sep svg,
html.fronze-darkmode-on body .kb-row-layout-wrap .kt-row-layout-bottom-sep svg path {
  fill: #fff !important;
  filter: none !important;
}

/* Cover Kadence separator variations that use the shared separator class
   outside the usual row-layout wrapper. */
html.fronze-darkmode-on body .kt-row-layout-top-sep svg,
html.fronze-darkmode-on body .kt-row-layout-top-sep svg path,
html.fronze-darkmode-on body .kt-row-layout-bottom-sep svg,
html.fronze-darkmode-on body .kt-row-layout-bottom-sep svg path {
  fill: #fff !important;
  filter: none !important;
}

/* Elementor shape dividers are also used on some WordPress pages. */
html.fronze-darkmode-on body .elementor-shape-divider .elementor-shape-fill {
  fill: #fff !important;
}
html.fronze-darkmode-on body .elementor-shape-divider svg {
  color: #fff !important;
}


/* v1.1.6: Apply the same direct separator inversion used on the homepage
   to Kadence top and bottom separators on every page. The row IDs are
   generated per page, so target the shared Kadence separator classes. */
html.fronze-darkmode-on body .kb-row-layout-wrap > .kt-row-layout-top-sep,
html.fronze-darkmode-on body .kb-row-layout-wrap > .kt-row-layout-bottom-sep {
  filter: invert(1) hue-rotate(180deg) !important;
}
html.fronze-darkmode-on body .kb-row-layout-wrap > .kt-row-layout-top-sep svg,
html.fronze-darkmode-on body .kb-row-layout-wrap > .kt-row-layout-top-sep svg path,
html.fronze-darkmode-on body .kb-row-layout-wrap > .kt-row-layout-bottom-sep svg,
html.fronze-darkmode-on body .kb-row-layout-wrap > .kt-row-layout-bottom-sep svg path {
  fill: #fff !important;
  filter: none !important;
}


/* v1.1.7: Do not invert the <picture> wrapper and its nested <img> at the same time.
   The wrapper is structural only. Restoring the image itself once preserves
   the original colors of photographs in Darkmode. */
html.fronze-darkmode-on body > *:not(#fronze-darkmode-widget):not(#fronze-a11y):not(#wpadminbar):not(footer):not(#colophon):not(#site-footer):not(.site-footer):not(.elementor-location-footer):not([data-elementor-type="footer"]) picture {
  filter: none !important;
}
html.fronze-darkmode-on body > *:not(#fronze-darkmode-widget):not(#fronze-a11y):not(#wpadminbar):not(footer):not(#colophon):not(#site-footer):not(.site-footer):not(.elementor-location-footer):not([data-elementor-type="footer"]) picture img {
  filter: invert(1) hue-rotate(180deg) !important;
}
