/* Independent Css */

.wcps-wrapper {
  position: relative;
  z-index: 1;
}

#wcps-bar {
  background: transparent;
  width: 100%;
  max-width: 420px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
  opacity: 0;
  visibility: hidden;
  transition: 0.4s all ease-in-out;
  transform: translateY(-30px);
}

#wcps-bar.wcps-bar-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0px);
}

#wcps-trigger {
  width: 40px;
  height: 40px;
  background: #000;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: none;
  font-size: 16px;
  padding: 6px;
  transition: 0.4s all ease-in-out;
  flex: 0 0 auto;
}

.wcps-search {
  display: flex;
  align-items: center;
}

#wcps-input:focus-visible {
  outline: none;
}

#wcps-trigger:focus {
  outline: none;
}

#wcps-input {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  border: none;
}

#wcps-results {
  margin-top: 10px;
  border: 1px solid #eee;
  background: rgb(255, 255, 255);
  border-radius: 5px;
  padding: 10px;
  position: absolute;
  left: 0px;
  right: 0;
  z-index: 1;
  height: 400px;
  overflow-y: auto;
}

.ps-thumb {
  width: 80px;
  height: 80px;
  flex: 0 0 auto;
}

.ps-thumb img {
  border-radius: 4px;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.ps-item a {
  display: flex;
  align-items: center;
  column-gap: 10px;
  transition: 0.4s all ease-in-out;
  text-decoration: none !important;
}

.ps-item:last-child {
  border-bottom: none;
}


.ps-info {
  flex: 1;
}

.ps-item+.ps-item {
  margin-top: 10px;
  border-top: 1px solid #5b5b5b;
  padding-top: 10px;
}

.ps-item a:hover .ps-title {
  color: #0a58ca;
}


.ps-title {
  font-weight: 600;
  margin-bottom: 3px;
  color: #000;
  font-size: 16px;
  text-transform: capitalize;
  text-decoration: none !important;
  transition: 0.4s all ease-in-out;
}

#wcps-results:has(.ps-no-results) {
  height: auto;
  padding: 0;
}

.ps-sku {
  font-size: 13px;
  color: #666;
}

.ps-no-results {
  padding: 12px;
  text-align: center;
  color: #777;
}

.ps-footer {
  text-align: center;
  padding: 10px 6px;
}


/* Independent Css */

/* Responsive Css */

@media (max-width:1399px) {

  .ps-title {
    font-size: 14px;
    line-height: 1.3;
  }

  .ps-thumb {
    width: 70px;
    height: 70px;
  }

}

@media (max-width:1199px) {
  .ps-thumb {
    width: 60px;
    height: 60px;
  }

  #wcps-input {
    font-size: 14px;
  }
}

@media (max-width:991px) {


  .body_search {
    overflow: hidden;
  }


  #wcps-trigger {
    z-index: 101;
    position: relative;
  }

  .body_search #wcps-trigger::after {
    content: '\f060';
    position: absolute;
    font-family: "fontawesome";
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: 0.14s all ease-in-out;
  }

  .body_search #wcps-trigger i {
    font-size: 0;
  }

  #wcps-bar {
    width: 100%;
    bottom: 0;
    height: 100vh;
    background: rgb(255, 255, 255);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    right: 0;
    max-width: 100%;
  }

  #custom-ajax-search {
    padding-top: 70px;
  }

  #wcps-input {
    margin: 0 25px;
    box-shadow: rgba(0, 0, 0, .24) 0 3px 8px;
    margin-bottom: 25px;
    width: calc(100% - 50px);
    font-size: 16px;
    height: 50px;
  }

  #wcps-results {
    border: none;
    height: calc(100% - 20px);
    padding: 0;
    padding-bottom: 180px;
    margin: 0 25px;
    padding-right: 5px;
  }

  .body_search header .container {
    max-width: 100%;
  }

  .ps-title {
    font-size: 15px;
  }

}


/* Responsive Css */