/* ======================= */
/* additional css start */

/* if logged in as admin  */
body.admin-bar .inspect-map-search .inspect-filter-header,
body.admin-bar .inspect-drawer-content,
body.admin-bar .inspect-filter-map-widgets {
  top: 32px;
}

body.admin-bar .inspect-drawer-content .inspect-total-filtered-products-wrapper {
  bottom: 32px;
}

body.admin-bar .inspect-filter-results-container .map-sticky {
  top: 125px;
}

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

/* additional css end */
/* ======================= */

/* ===================================== */
/* inspect filter sticky header style start */

.inspect-map-search .inspect-filter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  position: sticky;
  top: 0;
  z-index: 99;
  padding: 12px 16px;
  background-color: #ffffff;
  box-shadow: 0px 2px 8px 0px #1118270f;
}

.inspect-map-search .inspect-filter-sort,
.inspect-map-search .inspect-filter-widget {
  min-width: 160px;
  max-width: 160px;
  text-overflow: ellipsis;
}

/* sticky header left  */
.inspect-map-search .inspect-filter-header-left,
.inspect-map-search .inspect-filter-header-form,
.inspect-map-search .inspect-filter-header-form form,
.inspect-map-search .inspect-filter-header-form .inspect-filter-form-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.inspect-map-search .inspect-filter-header-form .inspect-total-filtered-products-wrapper,
.inspect-map-search .inspect-filter-header-form .inspect-filter-widget-header {
  display: none;
}

.inspect-map-search .inspect-filter-header-left .inspect-filter-header-form {
  display: none;
}

/* sticky header right  */
.inspect-map-search .inspect-filter-header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.inspect-map-search .inspect-filter-header-right .inspect-total-filtered-products-wrapper {
  display: none;
}

/* button style  */
.inspect-map-search .clear-all-filter,
.inspect-map-search button {
  font-size: 14px;
  font-weight: 500;
  padding: 9px 14px;
  outline: none;
  color: #111827;
  background-color: #ffffff;
  border-radius: 4px;
  border: 1px solid #dfdfdf;
  box-shadow: 0px 2px 8px 0px #1118270f;
  display: inline-block;
  height: 44px;
  cursor: pointer;
  line-height: 1;
}

.inspect-map-search button.inspect-total-filtered-products {
  background-color: transparent;
  box-shadow: none;
  border: none;
  border-radius: 0;
  cursor: default;
}

.inspect-map-search button.inspect-open-drawer svg {
  width: 20px;
}

/* side drawer style  */

/* drawer wrapper  */
.inspect-map-search .inspect-drawer-wrapper {
  position: fixed;
  inset: 0;
  overflow: hidden;
  display: none;
  z-index: 999;
}

.inspect-map-search .inspect-drawer-wrapper.active {
  display: block;
}

/* drawer content  */
.inspect-map-search .inspect-drawer-content {
  max-width: 400px;
  width: 100%;
  background-color: #ffffff;
  position: relative;
  z-index: 999;
  height: 100%;
  overflow-x: hidden;
  overflow-y: scroll;
  transform: translateX(-100%);
  transition: transform 0.3s ease-in-out;
}

.inspect-map-search .inspect-drawer-content.active {
  transform: translateX(0%);
}

/* drawer overlay  */
.inspect-map-search .inspect-drawer-overlay {
  background-color: #000000;
  opacity: 0.6;
  position: fixed;
  z-index: 99;
  inset: 0;
  cursor: pointer;
}

.inspect-drawer-content .inspect-filter-form-wrapper {
  margin-top: 20px;
}

/* drawer content header style  */
.inspect-map-search .inspect-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: sticky;
  top: 0;
  width: 100%;
  background-color: #ffffff;
  padding: 16px;
  padding-right: 16px;
  z-index: 9;
}

.inspect-map-search .inspect-drawer-header .filter-heading p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.inspect-map-search .inspect-drawer-header .filter-heading p {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 0;
}

.inspect-map-search .inspect-drawer-header .inspect-close-drawer {
  border: none;
  color: #000000;
  padding: 6px 14px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 1px;
  font-size: 16px;
  box-shadow: 0px 4px 8px 0px #1118270f;
}

.inspect-map-search .inspect-drawer-header .inspect-close-drawer svg {
  width: 20px;
}

/* drawer content footer style  */
.inspect-drawer-content .inspect-total-filtered-products-wrapper {
  position: sticky;
  left: 0px;
  bottom: 0px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px;
  background-color: #ffffff;
  box-shadow: 0px -2px 8px 0px #1118270f;
}

/* drawer form filed style  */
.inspect-drawer-content .inspect-filter-form-wrapper {
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 60px;
}

.inspect-drawer-content #inspect-filter-form-popup {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}

.inspect-drawer-content .inspect-filter-widget .inspect-filter-widget-title {
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 8px;
}

.inspect-drawer-content .inspect-filter-widget input[type="search"] {
  height: 44px;
  border: 1px solid #dfdfdf;
  border-radius: 4px;
  outline: none;
  font-size: 14px;
  line-height: 1;
  color: #111827;
  background-color: #ffffff;
  width: 100%;
  padding-left: 13px;
}

.inspect-drawer-content .inspect-filter-widget input[type="search"]:focus {
  border-color: #111827;
}

/* drawer filter widget item search icon style */
.inspect-drawer-content .inspect-filter-widget .filter-widget-item-search {
  position: relative;
}
.inspect-drawer-content .inspect-filter-widget .product-resource-search-icon-wrapper {
  display: inline-block;
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
}

/* drawer input type checkbox style  */
.inspect-drawer-content .inspect-filter-widget input[type="checkbox"] {
  border: 1px solid #dfdfdf;
  box-shadow: none;
}

.inspect-drawer-content .inspect-filter-widget input[type="checkbox"]:checked {
  border: 1px solid #111827;
}

.inspect-drawer-content .inspect-filter-widget .product-filter-item-listing input[type="checkbox"] {
  box-shadow: none;
}

.inspect-drawer-content .inspect-filter-widget input[type="checkbox"]::after {
  border: none;
}
.inspect-drawer-content .inspect-filter-widget .product-filter-title {
  font-size: 14px;
}

/* inspect filter sticky header style end  */
/* ===================================== */

/* filter results style  */
.inspect-filter-result-wrapper {
  margin-top: 20px;
  padding: 0 24px;
}

.inspect-filter-results-container {
  max-width: 100%;
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.inspect-filter-results-container .filter-results {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.map-container {
  display: none;
}

/* product card style  */
.inspect-filter-results-container .product-loop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  background-color: #ffffff;
  border-radius: 8px;
  padding: 12px;
  box-shadow: 0px 2px 8px 0px #1118270f;
}

.inspect-filter-results-container .content {
  width: 100%;
}

.inspect-filter-results-container .content h3 {
  font-size: 18px;
  font-weight: 500;
}
.inspect-filter-results-container .content > p {
  font-size: 16px;
  font-weight: 400;
}

.inspect-filter-results-container .loop-listing-attributes {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 24px;
  row-gap: 8px;
  font-size: 14px;
  font-weight: 400;
}

.inspect-filter-results-container .content-footer {
  margin-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  font-weight: 400;
}

.inspect-filter-results-container .post-link a {
  display: inline-block;
  padding: 10px 16px;
  background-color: #28303d;
  font-size: 14px;
  border-radius: 6px;
  box-shadow: 0px 4px 6px 0px #0000001a;
  color: #ffffff;
}

/* load more button style  */
.inspect-filter-result-wrapper .inspect-product-search-loadmore {
  display: flex;
  align-items: center;
  justify-content: center;
}

.inspect-filter-result-wrapper .inspect-product-search-loadmore button {
  border: none;
  color: #000000;
  border-radius: 4px;
  letter-spacing: 1px;
  font-size: 16px;
  display: flex;
  align-items: center;
  background-color: #ffffff;
  box-shadow: 0px 4px 8px 0px #1118270f;
}

.inspect-filter-result-wrapper .inspect-product-search-loadmore button:focus {
  outline: none;
}

.inspect-filter-result-wrapper .inspect-product-search-loadmore button:hover {
  background-color: #ffffff;
}

.inspect-filter-result-wrapper .inspect-product-search-loadmore .loading-text,
.inspect-filter-result-wrapper .inspect-product-search-loadmore .loading-svg {
  display: none;
}

.inspect-filter-result-wrapper .blockUI,
.inspect-filter-result-wrapper .blockOverlay {
  display: none !important;
}

/* inspect map style  */
.inspect-filter-results-container .map-sticky {
  position: sticky;
  top: 93px;
}

.map {
  width: 100%;
  height: 600px;
}

.inspect-filter-header-right {
  display: flex;
  align-items: center;
}

/* inspect filter result and map style end  */
/* ======================================= */

/* ====================================================== */
/* global style for inspect map search and filter start  */

/* select2 input style  */
.select2 {
  width: 100% !important;
}

.select2 .select2-selection {
  height: 44px;
  border: 1px solid #dfdfdf;
}

.select2 .select2-selection:hover {
  border-color: #111827;
}

.select2 .select2-selection--single {
  margin: 0;
}

.select2.select2-container--below.select2-container--open .select2-selection--single {
  border-radius: 4px;
  margin: 0;
}

.select2 .select2-selection__rendered {
  height: 100%;
  font-size: 14px;
}

.select2 .select2-selection--single .select2-selection__rendered {
  display: flex;
  align-items: center;
  padding-left: 12px;
}

.select2 .select2-selection--single .select2-selection__arrow {
  top: 1px;
  bottom: 1px;
  right: 8px;
  background-color: #ffffff;
}

.select2 .select2-selection--single .select2-selection__arrow b {
  border-color: transparent #888 #888 transparent;
  border-style: solid;
  border-width: 2px;
  top: calc(50% - 5px);
  height: 10px;
  width: 10px;
  border-radius: 2px;
  transform: rotate(45deg);
}

.select2.select2-container--open .select2-selection--single .select2-selection__arrow b {
  border-color: transparent #888 #888 transparent;
  border-style: solid;
  border-width: 2px;
  top: 50%;
  height: 10px;
  width: 10px;
  border-radius: 2px;
  transform: rotate(225deg);
}

/* select2 dropdown style  */
.select2-container .select2-dropdown {
  margin-top: 40px;
  background: #ffffff;
  border: 1px solid #dfdfdf;
  border-radius: 6px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.1)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.06));
}

.select2-container .select2-dropdown .select2-search {
  padding: 0;
  border-radius: 6px 6px 0 0;
  border-bottom: 1px solid #dfdfdf;
}

.select2-container .select2-dropdown .select2-search .select2-search__field {
  border-radius: 6px 6px 0 0;
  border: none;
  min-height: 40px;
  padding-left: 16px;
  padding-right: 16px;
  font-size: 14px;
  margin: 0;
}

.select2-container .select2-dropdown .select2-search .select2-search__field:focus {
  outline: none;
  border: none;
  box-shadow: none;
}

.select2-container .select2-dropdown .select2-results {
  padding-top: 8px;
  padding-bottom: 8px;
}

.select2-container
  .select2-dropdown
  .select2-results
  .select2-results__options
  .select2-results__option {
  font-size: 14px;
  line-height: 1.6;
  color: #111827;
  border: none;
  padding-top: 8px;
  padding-bottom: 8px;
  padding-left: 12px;
}

.select2-container
  .select2-dropdown
  .select2-results
  .select2-results__options
  .select2-results__option--highlighted {
  background-color: #f3f4f6;
}

.select2-container .select2-dropdown--above {
  top: -12px;
}

/* date picker input style  */
.inspect-filter-widget-date {
  position: relative;
}

.inspect-filter-widget-date {
  min-width: 210px;
  max-width: 210px;
  text-overflow: ellipsis;
}

.inspect-filter-widget-date .daterange {
  padding-top: 0;
  padding-bottom: 0;
  padding-left: 36px;
  height: 44px;
  border: 1px solid #dfdfdf;
  border-radius: 4px;
  font-size: 14px;
  margin: 0;
  width: 100%;
}

.inspect-filter-widget-date .daterange:focus {
  outline: none;
}

.inspect-filter-widget-date .calender_icon {
  left: 12px;
  width: 16px;
  display: inline-block;
}

.inspect-filter-widget-date .calender_icon img {
  width: 100%;
  vertical-align: top;
}

.inspect-filter-widget-date .daterange:hover {
  border-color: #111827;
}

.inspect-filter-widget-date .daterange:focus {
  box-shadow: none;
  border-color: #111827;
}

/* date picker calendar style  */
.daterangepicker {
  max-width: 660px;
  width: 100%;
}

.daterangepicker .table-condensed tbody tr td.in-range {
  background-color: #f3f4f6;
}

.daterangepicker .table-condensed tbody tr td.active,
.daterangepicker .table-condensed tbody tr td.end-date,
.daterangepicker .table-condensed tbody tr td.start-date {
  background-color: #111827;
}

.daterangepicker table th {
  background-color: #f3f4f6;
}

.daterangepicker .table-condensed thead tr .month {
  color: #111827;
  font-size: 18px;
  font-weight: 700;
}

.daterangepicker .drp-calendar.left,
.daterangepicker .drp-calendar.right {
  max-width: 100%;
}

.daterangepicker .drp-calendar.left {
  float: left;
}

.daterangepicker .drp-calendar.right {
  float: right;
}

.daterangepicker .drp-buttons {
  clear: both;
}

.daterangepicker .drp-buttons .drp-selected {
  display: none;
}

.daterangepicker .ranges {
  display: none;
}

.daterangepicker .drp-calendar.left .calendar-table {
  padding-right: 0;
}

.daterangepicker .drp-calendar.right {
  padding-left: 0;
}

.daterangepicker .drp-calendar.left .calendar-table,
.daterangepicker .drp-calendar.left .table-condensed,
.daterangepicker .drp-calendar.right .calendar-table,
.daterangepicker .drp-calendar.right .table-condensed {
  border-radius: 0;
}

.daterangepicker .drp-calendar.right .calendar-table,
.daterangepicker .drp-calendar.right .table-condensed {
  border-left: 0;
}

.daterangepicker .drp-calendar.left .calendar-table,
.daterangepicker .drp-calendar.left .table-condensed {
  border-right: 0;
}

.daterangepicker .drp-calendar.left .table-condensed thead {
  border-right: 1px solid #f3f4f6;
}
.daterangepicker .drp-calendar.right .table-condensed thead {
  border-left: 1px solid #f3f4f6;
}

.daterangepicker .drp-calendar.right .table-condensed .next {
  border: 1px solid;
  border-color: #e5e7eb #e5e7eb #f3f4f6 #f3f4f6;
}

.daterangepicker .table-condensed thead tr th {
  border-radius: 0;
  border: none;
}

.daterangepicker .table-condensed tbody tr td {
  padding: 0;
  padding-top: 10px;
  padding-bottom: 8px;
}

.daterangepicker .drp-calendar.left table,
.daterangepicker .drp-calendar.right table {
  border: 1px solid #e5e7eb;
}

.daterangepicker .drp-buttons .btn,
.daterangepicker .drp-buttons .btn {
  color: #111827;
  border-radius: 4px;
  background-color: #ffffff;
  border: none;
  border-radius: 4px;
  padding: 8px 18px;
  outline: none;
  font-size: 14px;
  font-weight: 500;
}

.daterangepicker .drp-buttons .applyBtn:hover,
.daterangepicker .drp-buttons .cancelBtn:hover {
  background-color: #111827;
  color: #ffffff;
}

/* input checkbox type style  */
.product-filter-item-listing {
  --background: #fff;
  --border: #d1d6ee;
  --border-hover: #bbc1e1;
  --border-active: #1e2235;
  --tick: #fff;
  max-height: 23.125rem;
  overflow-y: auto;
  padding: 12px;
}
.product-filter-item-listing .product-filter-label {
  position: relative;
  display: flex;
  cursor: pointer;
  align-items: center;
  margin: 0;
}
.product-filter-item-listing .product-filter-label:not(:last-child) {
  margin-bottom: 1.25rem;
}
.product-filter-item-listing .product-filter-label .product-filter-title {
  margin-left: 0.75rem;
  line-height: 1;
}
.product-filter-item-listing .product-filter-label .product-filter-svg {
  stroke-dasharray: var(--a, 86.12);
  stroke-dashoffset: var(--o, 86.12);
  transition: stroke-dasharray 0.6s, stroke-dashoffset 0.6s;
  pointer-events: none;
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke: var(--stroke, var(--border-active));
  position: absolute;
  top: 0;
  left: 0;
  transform: scale(var(--scale, 1)) translateZ(0);
}
.product-filter-item-listing .product-filter-label .product-filter-svg,
.product-filter-item-listing .product-filter-label .product-filter-input {
  width: 1rem;
  height: 1rem;
  display: block;
}
.product-filter-item-listing .product-filter-label .product-filter-input {
  -moz-appearance: none;
  position: relative;
  outline: none;
  background-color: var(--background);
  cursor: pointer;
  border-radius: 4px;
  transition: box-shadow 0.3s;
  box-shadow: inset 0 0 0 var(--s, 1px) var(--b, var(--border));
  -webkit-appearnance: none;
  appearance: none;
}
.product-filter-item-listing .product-filter-label .product-filter-input:checked {
  --s: 2px;
  transition-delay: 0.4s;
  --b: var(--border-active);
}
.product-filter-item-listing .product-filter-label .product-filter-input:checked + svg {
  --a: 16.1 86.12;
  --o: 102.22;
}
.product-filter-item-listing .product-filter-label .product-filter-radio-svg {
  width: 1rem;
  height: 1rem;
  fill: none;
  vertical-align: middle;
}
.product-filter-item-listing .product-filter-label .product-filter-radio-svg circle {
  stroke-width: 2;
  stroke: var(--border);
}
.product-filter-item-listing .product-filter-label .product-filter-radio-svg path {
  stroke: #212121;
}
.product-filter-item-listing .product-filter-label .product-filter-radio-svg path.inner {
  stroke-width: 6;
  stroke-dasharray: 19;
  stroke-dashoffset: 19;
}
.product-filter-item-listing .product-filter-label .product-filter-radio-svg path.outer {
  stroke-width: 2;
  stroke-dasharray: 57;
  stroke-dashoffset: 57;
}
.product-filter-item-listing .product-filter-label .product-filter-input-radio {
  display: none;
}
.product-filter-item-listing
  .product-filter-label
  .product-filter-input-radio:checked
  + .product-filter-radio-svg
  path {
  transition: all 0.4s ease;
  transition-delay: 0s;
}
.product-filter-item-listing
  .product-filter-label
  .product-filter-input-radio:checked
  + .product-filter-radio-svg
  path.inner {
  stroke-dashoffset: 38;
  transition-delay: 0.3s;
}
.product-filter-item-listing
  .product-filter-label
  .product-filter-input-radio:checked
  + .product-filter-radio-svg
  path.outer {
  stroke-dashoffset: 0;
}
.product-filter-item-listing input[type="checkbox"]:focus + label::before,
.product-filter-item-listing input[type="radio"]:focus + label::before {
  outline: none;
}

/* global style for inspect map search and filter end  */
/* ================================================== */

/* ======================== */
/* responsive style start  */

@media screen and (min-width: 640px) {
  /* inspect filter header style start  */

  .inspect-map-search .inspect-filter-header-left,
  .inspect-map-search .inspect-filter-header-form,
  .inspect-map-search .inspect-filter-header-form form,
  .inspect-map-search .inspect-filter-header-form .inspect-filter-form-wrapper {
    gap: 20px;
  }
  /* inspect filter header style end */

  /* inspect filter result style start */
  .inspect-filter-results-container .product-loop {
    flex-direction: row;
  }
  /* inspect filter result style end */

  /* ====================================================== */
  /* global style for inspect map search and filter start  */

  /* date picker calendar style  */

  .daterangepicker .drp-calendar.left,
  .daterangepicker .drp-calendar.right {
    width: 50%;
  }

  .daterangepicker .drp-calendar.left {
    width: calc(50% - 1px);
    border-right: 1px solid #dfdfdf;
  }

  .daterangepicker .drp-buttons .drp-selected {
    display: inline-block;
  }

  /* global style for inspect map search and filter end  */
  /* ================================================== */
}

@media screen and (min-width: 1024px) {
  /* inspect filter header style start  */
  .inspect-map-search .inspect-filter-sort,
  .inspect-map-search .inspect-filter-widget {
    min-width: 210px;
    max-width: 210px;
    text-overflow: ellipsis;
  }

  /* header right  */
  .inspect-map-search .inspect-filter-header-right .inspect-total-filtered-products-wrapper {
    display: block;
  }
  /* inspect filter header style end */

  /* inspect filter result style start */
  .inspect-filter-results-container {
    grid-template-columns: 1fr 1fr;
  }
  .map-container {
    display: block;
  }
  /* inspect filter result style end */
}

@media screen and (min-width: 1280px) {
  /* sticky header style start */

  /* sticky header left  */
  .inspect-map-search .inspect-filter-header-left .inspect-filter-header-form {
    display: block;
  }

  /* sticky header style end */
}

@media screen and (min-width: 1440px) {
  /* inspect filter result style start */
  .inspect-filter-result-wrapper {
    padding: 0 48px;
  }
  /* inspect filter result style end */
}

/* ======================== */
/* responsive style end  */
