
/**
Common style
 */

.wp-block-yith-search-block,
.wp-block-yith-overlay-search-block{
  &.is-loading > *{
    display:none
  }
}
.ywcas-overlay-wrapper-search.is-loading {
  .ywcas-overlay-filled-content{
    display:none;
  }
}

.ywcas-history-searches-wrapper {
  .ywcas-history-header{
    border-bottom: 1px solid #9797972e;
    margin-bottom: 17px;
    padding-bottom: 8px;
    font-size: 0.93rem;
  }
  .ywcas-delete-all-history{
    &{
      color:#9C9C9C;
      font-size:0.75rem;
    }
    &:hover{
      cursor:pointer;
      color:var(--wp--preset--color--primary, #007565);
    }
  }
}
.ywcas-popular-searches-wrapper {
  .ywcas-popular-searches-items {
    margin-left: -5px;
  }

  .ywcas-popular-searches__title {
    border-bottom: 1px solid #9797972e;
    margin-bottom: 17px;
    padding-bottom: 8px;
    font-size: 0.93rem;
  }

  .ywcas-popular-searches-item {
    padding: 3px 15px;
    display: inline-block;
    border: 1px solid var(--wp--preset--color--contrast, #d8d8d8);
    border-radius: 22px;
    margin: 4px;
    transition: all 0.3s linear;
    color: var(--wp--preset--color--contrast, #000) !important;
    font-weight: normal;
    text-transform: capitalize;
    font-size: 0.93rem;

    &:hover {
      background: #fbfbfb;
    }
  }
}
.search-category-results {
  .ywcas-category-result {
    a {
      text-decoration: none;

      &:hover p {
        text-decoration: underline;
      }
    }
  }
}