.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-filter-sort,
  .inspect-filter-widget {
    min-width: 160px;
    max-width: 160px;
    text-overflow: ellipsis;
    @include from-lg {
      min-width: 210px;
      max-width: 210px;
      text-overflow: ellipsis;
    }
  }

  /* sticky header left  */
  .inspect-filter-header-left,
  .inspect-filter-header-form,
  .inspect-filter-header-form form,
  .inspect-filter-header-form .inspect-filter-form-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
    @include from-sm {
      gap: 20px;
    }
  }

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

  .inspect-filter-header-left {
    .inspect-filter-header-form {
      display: none;
      @include from-xl {
        display: block;
      }
      .inspect-filter-widget {
        padding-top: 0;
        margin-top: 0;
      }
    }
  }

  /* sticky header right  */
  .inspect-filter-header-right {
    display: flex;
    align-items: center;
    gap: 20px;
    .inspect-total-filtered-products-wrapper {
      display: none;
      @include from-lg {
        display: block;
      }
    }
  }

  /* button style  */
  .clear-all-filter,
  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;
  }

  button {
    &.inspect-total-filtered-products {
      background-color: transparent;
      box-shadow: none;
      border: none;
      border-radius: 0;
      cursor: default;
    }
    &.inspect-open-drawer {
      svg {
        width: 20px;
      }
    }
  }

  /* side drawer style  */
  /* drawer wrapper  */
  .inspect-drawer-wrapper {
    position: fixed;
    inset: 0;
    overflow: hidden;
    display: none;
    z-index: 999;
    &.active {
      display: block;
    }

    /* drawer content  */
    .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;
      &.active {
        transform: translateX(0%);
      }

      /* drawer content header style  */
      .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;
        .filter-heading {
          p {
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 0;
          }
        }
        .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;
          svg {
            width: 20px;
          }
        }
      }

      // drawer forms fields style
      .inspect-filter-form-wrapper {
        margin-top: 20px;
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 60px;
        #inspect-filter-form-popup {
          display: grid;
          grid-template-columns: 1fr;
          gap: 30px;
        }
        .inspect-filter-widget {
          width: 100%;
          max-width: 100%;
          margin-top: 0;
          .inspect-filter-widget-title {
            font-size: 16px;
            font-weight: 500;
            margin-bottom: 8px;
          }
          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;
          }
          input[type="search"]:focus {
            border-color: #111827;
          }

          /* drawer filter widget item search icon style */
          &.filter-widget-item-search {
            position: relative;
          }
          .product-resource-search-icon-wrapper {
            display: inline-block;
            position: absolute;
            right: 12px;
            top: 14px;
          }

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

          input[type="checkbox"]:checked {
            border: 1px solid #111827;
          }

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

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

      /* drawer content footer style  */
      .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 overlay  */
    .inspect-drawer-overlay {
      background-color: #000000;
      opacity: 0.6;
      position: fixed;
      z-index: 99;
      inset: 0;
      cursor: pointer;
    }
  }
}
