/*
 * sharie.ch – TRIAL: header at the bottom of the screen on mobile (≤ 767px)
 *
 * The header bar (Theme Builder "Header" 1558, outer flexbox 6a11d5ee) sits at the bottom
 * instead of the top. header-scroll.js hides it downwards while scrolling down and slides
 * it back up while scrolling up. The menu (burger) stays a full-screen layer.
 *
 * To undo: remove 'sharie-header-bottom' from functions.php (or delete this file).
 */
@media (max-width: 767px) {
  /* bar at the bottom, no border; room for the iPhone home bar */
  .elementor-location-header .elementor-element-6a11d5ee {
    top: auto !important;
    bottom: 0 !important;
    border: 0 !important;
    padding-bottom: calc(12px + env(safe-area-inset-bottom, 0px)) !important;
    background-color: #1E0A24 !important;   /* solid, not semi-transparent */
    -webkit-backdrop-filter: none !important; backdrop-filter: none !important;
  }

  /* no gap for the header at the top of the pages any more (wrapper <main> of each page) … */
  body:not(.elementor-editor-active) main.e-con { padding-top: 0 !important; }
  /* … but room at the bottom of the footer (footer 1559, 6a4b2837: 72px + bar), so its end
     isn't hidden behind the bar – inside the footer, so the space has the footer colour */
  .elementor-location-footer .elementor-element-6a4b2837 {
    padding-bottom: calc(72px + 65px + env(safe-area-inset-bottom, 0px)) !important;
  }

  /* open menu: links start higher up, the bar with logo + × is now at the bottom */
  .elementor-location-header .e-accordion-item-content-base { padding-top: 48px !important; }
}
