@use "sass:math";
$html-font-size: 1rem;

@function rem($size) {
  @return math.div($size, 16px) * $html-font-size;
}

@import "abstracts/media-queries";

/* =================================== */
/* if logged in as admin style start  */

body {
  &.admin-bar {
    .inspect-map-search {
      .inspect-filter-map-widgets,
      .inspect-drawer-content,
      .inspect-filter-header {
        top: 32px;
      }
      .inspect-drawer-content {
        .inspect-total-filtered-products-wrapper {
          bottom: 32px;
        }
      }
    }
    .inspect-filter-results-container {
      .map-sticky {
        top: 125px;
      }
    }
  }
}

/* for store front theme header  */
.site-header {
  z-index: 9;
}

/* if logged in as admin style end  */
/* ================================= */

@import "map-search/header-search-bar";
@import "map-search/product-grid-map";
