:root {
  --default-font-size: 14px;
  --color-brand: #111827;
  --color-border-main: #e5e7eb;
  --color-main-text: #111827;
  --color__text-main: #4a5568;
  --bg-form: #ffffff;
  --bg-list: #f3f4f6;
  --divider: #e5e7eb;
  --input-clr: #6b7280;
  --icon-clr: #4b5563;
  --paragraph-primary: #4b5563;
}

@keyframes zoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.3);
  }
  100% {
    transform: scale(1);
  }
}

.rq-hide {
  display: none !important;
}

/* ================================= */
/* inspect quick search style  */
/* ================================= */

.inspect-quick-search-wrapper {
  max-width: 768px;
  width: 100%;
  position: relative;
  /* search overlay style  */
  .inspect-quick-search-overlay {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    cursor: pointer;
    display: none;
  }

  .inspect-quick-search-overlay.is-active {
    display: block;
  }
  /* search input form style  */
  .inspect-quick-search-form {
    width: 100%;
    position: relative;
    .inspect-search-icon {
      position: absolute;
      left: 16px;
      top: 50%;
      transform: translateY(-50%);
      display: inline-block;
      font-size: 16px;
      font-weight: 500;
      line-height: 1;
      color: inherit;
    }
    .inspect-quick-search-input {
      width: 100%;
      padding: 12px 24px;
      padding-left: 46px;
      font-size: 14px;
      font-weight: 400;
      line-height: 1;
      color: inherit;
      border: 1px solid #e5e7eb;
      border-radius: 4px;
      &:focus {
        outline: none;
        border: 1px solid #000000;
      }
    }
  }

  .inspect-quick-search-form.is-active {
    z-index: 2;
  }
  /* search result wrapper style */
  .inspect-quick-search-result-wrapper {
    position: absolute;
    left: 0;
    right: 0;
    top: 48px;
    z-index: 2;
    background-color: #ffffff;
    border-radius: 4px;
    max-height: 600px;
    overflow-y: auto;
    margin-top: 4px;
    padding: 16px;
    box-shadow: 0px 2px 8px rgba(17, 24, 39, 0.06);
    display: none;
    @media screen and (min-width: 768px) {
      padding: 32px;
    }

    .inspect-quick-search-result-header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      margin-bottom: 8px;
      .inspect-without-search-query,
      .inspect-quick-search-result-count {
        margin: 0;
        font-size: 14px;
        color: #000000;
        text-transform: capitalize;
      }
      .inspect-without-search-query {
        .query-text {
          font-weight: 500;
          color: #000000;
        }
      }
      .inspect-quick-search-result-count {
        font-weight: 400;
      }
    }

    .quick-search-results {
      .inspect-product-search-card {
        display: grid;
        grid-template-columns: 100px 1fr;
        column-gap: 24px;
        align-items: center;
        padding: 12px 0;
        &:hover {
          .inspect-product-search-card-description {
            a {
              color: #000000;
            }
          }
        }
        @media screen and (min-width: 640px) {
          grid-template-columns: 160px 1fr 160px;
        }
        .inspect-product-search-card-thumb {
          a {
            display: inline-block;
            width: 100%;
            height: 100%;
            img {
              width: 100%;
              height: 100%;
            }
          }
        }
        .inspect-product-search-card-description {
          a {
            color: #4b5563;
            font-size: 16px;
            font-weight: 500;
            text-decoration: none;
            display: inline-block;
          }
          .inspect-product-search-card-price {
            color: #4b5563;
            font-size: 14px;
          }
        }
        .inspect-product-details-button {
          display: none;
          text-align: end;
          @media screen and (min-width: 640px) {
            display: block;
          }
          a {
            text-decoration: none;
            color: #ffffff;
            text-transform: capitalize;
            font-size: 14px;
            font-weight: 500;
            display: inline-block;
            letter-spacing: 1px;
            background-color: #000000;
            padding: 8px 14px;
            border-radius: 6px;
            transition: 0.1s ease;
            &:hover {
              transform: translateY(-2px);
            }
            @media screen and (min-width: 768px) {
              padding: 14px 20px;
            }
          }
        }
      }
      .quick-search-explore-all-btn-container {
        text-align: center;
      }
    }

    .inspect-quick-search-loader {
      display: none;
      justify-content: center;
      align-items: center;
      column-gap: 8px;
      span {
        width: 15px;
        height: 15px;
        background-color: #000000;
        border-radius: 50%;
        animation: zoom 0.9s infinite;
      }
      .dot-2 {
        animation-delay: 0.3s;
      }
      .dot-3 {
        animation-delay: 0.6s;
      }
    }

    .inspect-quick-search-loader.is-active {
      display: flex;
    }

    .inspect-empty-product {
      display: none;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      .inspect-empty-image-container {
        max-width: 160px;
        width: 100%;
        margin-bottom: 24px;
        img {
          height: 100%;
          width: 100%;
        }
      }
      .inspect-empty-content-container {
        text-align: center;
      }
      .inspect-empty-title {
        font-size: 20px;
        font-weight: 500;
        color: #000000;
        text-transform: uppercase;
        margin: 0;
        margin-bottom: 8px;
      }
      .inspect-empty-content {
        margin: 0;
        color: #000000;
      }
    }

    .inspect-empty-product.is-active {
      display: flex;
    }
  }
  .inspect-quick-search-result-wrapper.is-active {
    display: block;
    z-index: 2;
  }
}
