/* Keep the original day/night SVGs and the animated search SVG. */
.pz-elementor-preview-header .elementor-619 .elementor-element-b7e15d2a,
.elementor-location-header .elementor-element-b7e15d2a {
  --pz-icon-slot: 42px;
  display: flex !important;
  flex-flow: row nowrap !important;
  direction: ltr !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 0 !important;
  width: 168px !important;
  min-width: 168px !important;
  max-width: 168px !important;
  --gap: 0px;
  --row-gap: 0px;
  --column-gap: 0px;
}
.pz-elementor-preview-header .elementor-619 .elementor-element-b7e15d2a > .elementor-element,
.elementor-location-header .elementor-element-b7e15d2a > .elementor-element,
.pz-elementor-preview-header .elementor-619 .elementor-element-b7e15d2a > .pz-header-search:not(.is-open):not(.is-closing),
.elementor-location-header .elementor-element-b7e15d2a > .pz-header-search:not(.is-open):not(.is-closing) {
  box-sizing: border-box !important;
  display: flex !important;
  flex: 0 0 var(--pz-icon-slot) !important;
  align-items: center !important;
  justify-content: center !important;
  align-self: center !important;
  width: var(--pz-icon-slot) !important;
  min-width: var(--pz-icon-slot) !important;
  max-width: var(--pz-icon-slot) !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
}
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-widget-container,
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-icon-wrapper,
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-icon,
.elementor-location-header .elementor-element-b7e15d2a .elementor-widget-container,
.elementor-location-header .elementor-element-b7e15d2a .elementor-icon-wrapper,
.elementor-location-header .elementor-element-b7e15d2a .elementor-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 0 !important;
}
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-c093af4b > .elementor-widget,
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-c093af4b .elementor-widget-container,
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-f24c6e91 .elementor-widget-container,
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-a7d9305f .elementor-widget-container,
.elementor-location-header .elementor-element-b7e15d2a .elementor-element-c093af4b > .elementor-widget,
.elementor-location-header .elementor-element-b7e15d2a .elementor-element-c093af4b .elementor-widget-container,
.elementor-location-header .elementor-element-b7e15d2a .elementor-element-f24c6e91 .elementor-widget-container,
.elementor-location-header .elementor-element-b7e15d2a .elementor-element-a7d9305f .elementor-widget-container {
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: var(--pz-icon-slot) !important;
  height: 44px !important;
  margin: 0 !important;
  padding: 0 !important;
}
/* Scale the painted shapes to the same optical height as the search symbol. */
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-c093af4b svg,
.elementor-location-header .elementor-element-b7e15d2a .elementor-element-c093af4b svg {
  display: block !important;
  flex: 0 0 21px !important;
  width: 21px !important;
  min-width: 21px !important;
  max-width: 21px !important;
  height: 21px !important;
  min-height: 21px !important;
  max-height: 21px !important;
  margin: 0 !important;
  transform: none !important;
}
.pz-elementor-preview-header .elementor-element-b7e15d2a .pz-header-icon-svg,
.pz-elementor-preview-header .elementor-element-b7e15d2a .pz-header-icon-svg *,
.elementor-location-header .elementor-element-b7e15d2a .pz-header-icon-svg,
.elementor-location-header .elementor-element-b7e15d2a .pz-header-icon-svg * {
  fill: none !important;
  stroke: currentColor !important;
}
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-f24c6e91 .pz-header-icon-svg,
.elementor-location-header .elementor-element-b7e15d2a .elementor-element-f24c6e91 .pz-header-icon-svg {
  display: block !important;
  flex: 0 0 30px !important;
  width: 30px !important;
  min-width: 30px !important;
  max-width: 30px !important;
  height: 30px !important;
  min-height: 30px !important;
  max-height: 30px !important;
  margin: 0 !important;
  transform: none !important;
}
.pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-a7d9305f .pz-header-icon-svg,
.elementor-location-header .elementor-element-b7e15d2a .elementor-element-a7d9305f .pz-header-icon-svg {
  display: block !important;
  flex: 0 0 28px !important;
  width: 28px !important;
  min-width: 28px !important;
  max-width: 28px !important;
  height: 28px !important;
  min-height: 28px !important;
  max-height: 28px !important;
  margin: 0 !important;
  transform: translateY(1px) !important;
}
@media (max-width: 767px) {
  html body .pz-elementor-preview-header .elementor-619 .elementor-element-b7e15d2a,
  html body .elementor-location-header .elementor-element-b7e15d2a {
    --pz-icon-slot: 32px;
    gap: 1px !important;
    width: 98px !important;
    min-width: 98px !important;
    max-width: 98px !important;
  }
  html body .pz-elementor-preview-header .elementor-element-b7e15d2a > .elementor-element,
  html body .elementor-location-header .elementor-element-b7e15d2a > .elementor-element {
    flex: 0 0 32px !important;
    width: 32px !important;
    min-width: 32px !important;
    max-width: 32px !important;
  }
  html body .pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-c093af4b svg,
  html body .elementor-location-header .elementor-element-b7e15d2a .elementor-element-c093af4b svg {
    flex: 0 0 18px !important;
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: 18px !important;
    min-height: 18px !important;
    max-height: 18px !important;
  }
  html body .pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-f24c6e91 .pz-header-icon-svg,
  html body .elementor-location-header .elementor-element-b7e15d2a .elementor-element-f24c6e91 .pz-header-icon-svg {
    flex: 0 0 26px !important;
    width: 26px !important;
    min-width: 26px !important;
    max-width: 26px !important;
    height: 26px !important;
    min-height: 26px !important;
    max-height: 26px !important;
  }
  html body .pz-elementor-preview-header .elementor-element-b7e15d2a .elementor-element-a7d9305f .pz-header-icon-svg,
  html body .elementor-location-header .elementor-element-b7e15d2a .elementor-element-a7d9305f .pz-header-icon-svg {
    flex: 0 0 24px !important;
    width: 24px !important;
    min-width: 24px !important;
    max-width: 24px !important;
    height: 24px !important;
    min-height: 24px !important;
    max-height: 24px !important;
  }
}

/* The theme switch has one slot: moon in light mode, sun in dark mode. */
html body .pz-elementor-preview-header .elementor-element-c093af4b .elementor-element-e18b7a34,
html body .elementor-location-header .elementor-element-c093af4b .elementor-element-e18b7a34,
html[data-pelazo-theme="light"] body .pz-elementor-preview-header .elementor-element-c093af4b .elementor-element-e18b7a34,
html[data-pelazo-theme="light"] body .elementor-location-header .elementor-element-c093af4b .elementor-element-e18b7a34,
html[data-pelazo-theme="dark"] body .pz-elementor-preview-header .elementor-element-c093af4b .elementor-element-d6f25c80,
html[data-pelazo-theme="dark"] body .elementor-location-header .elementor-element-c093af4b .elementor-element-d6f25c80 {
  display: none !important;
}
html[data-pelazo-theme="dark"] body .pz-elementor-preview-header .elementor-element-c093af4b .elementor-element-e18b7a34,
html[data-pelazo-theme="dark"] body .elementor-location-header .elementor-element-c093af4b .elementor-element-e18b7a34 {
  display: flex !important;
}

/* Slide the fixed header out as the footer reaches it. */
html body .pz-elementor-preview-header .elementor-619 .elementor-element.elementor-element-a4c2e9f1,
html body .elementor-location-header .elementor-element.elementor-element-a4c2e9f1 {
  transform: translate(-50%, var(--pz-header-footer-offset, 0px)) !important;
}
@media (max-width: 767px) {
  html body .pz-elementor-preview-header .elementor-619 .elementor-element.elementor-element-a4c2e9f1,
  html body .elementor-location-header .elementor-element.elementor-element-a4c2e9f1 {
    border-radius: 0 !important;
  }
}

/* New 24-unit theme icons share the search icon's 1.8-unit line. */
html body .pz-elementor-preview-header .elementor-element-c093af4b svg.pz-header-icon-svg,
html body .elementor-location-header .elementor-element-c093af4b svg.pz-header-icon-svg,
html body .pz-elementor-preview-header .elementor-element-c093af4b svg.pz-header-icon-svg *,
html body .elementor-location-header .elementor-element-c093af4b svg.pz-header-icon-svg * {
  fill: none !important;
  stroke: currentColor !important;
  stroke-width: 1.8px !important;
}
html body .pz-elementor-preview-header .elementor-element-c093af4b .elementor-element-d6f25c80 svg.pz-header-icon-svg,
html body .elementor-location-header .elementor-element-c093af4b .elementor-element-d6f25c80 svg.pz-header-icon-svg {
  flex: 0 0 27px !important;
  width: 27px !important;
  min-width: 27px !important;
  max-width: 27px !important;
  height: 27px !important;
  min-height: 27px !important;
  max-height: 27px !important;
}
html body .pz-elementor-preview-header .elementor-element-c093af4b .elementor-element-e18b7a34 svg.pz-header-icon-svg,
html body .elementor-location-header .elementor-element-c093af4b .elementor-element-e18b7a34 svg.pz-header-icon-svg {
  flex: 0 0 25px !important;
  width: 25px !important;
  min-width: 25px !important;
  max-width: 25px !important;
  height: 25px !important;
  min-height: 25px !important;
  max-height: 25px !important;
}
@media (max-width: 767px) {
  html body .pz-elementor-preview-header .elementor-element-c093af4b .elementor-element-d6f25c80 svg.pz-header-icon-svg,
  html body .elementor-location-header .elementor-element-c093af4b .elementor-element-d6f25c80 svg.pz-header-icon-svg {
    flex-basis: 23px !important;
    width: 23px !important;
    min-width: 23px !important;
    max-width: 23px !important;
    height: 23px !important;
    min-height: 23px !important;
    max-height: 23px !important;
  }
  html body .pz-elementor-preview-header .elementor-element-c093af4b .elementor-element-e18b7a34 svg.pz-header-icon-svg,
  html body .elementor-location-header .elementor-element-c093af4b .elementor-element-e18b7a34 svg.pz-header-icon-svg {
    flex-basis: 21px !important;
    width: 21px !important;
    min-width: 21px !important;
    max-width: 21px !important;
    height: 21px !important;
    min-height: 21px !important;
    max-height: 21px !important;
  }
}

/* Center the desktop brand against the full header width, independently of the action group. */
@media (min-width: 768px) {
  html body .pz-elementor-preview-header .elementor-619 .elementor-element-a4c2e9f1 > .elementor-element-b8e41c62,
  html body .elementor-location-header .elementor-element-a4c2e9f1 > .elementor-element-b8e41c62 {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    right: auto !important;
    z-index: 2 !important;
    flex: 0 0 auto !important;
    width: max-content !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    transform: translate(-50%, -50%) !important;
  }
}
