.g-item-owner-type,
.ls-item-owner-type {
  display: flex;
  align-items: center;
  color: var(--text-color);
  width: 100%;
}

.g-item,
.ls-item {
  .cp-list-title-box {
    display: flex;
    align-items: center;
    min-height: 16px;

    .g-item-owner-type {
      width: 100%;
    }

    .cp-verify-ico {
      min-width: 16px;
      height: 16px;
    }

    a .cp-verify-ico {
      margin-top: -2px;
    }
  }

  .cp-verify-ico {
    margin-top: -3px;
  }
}

.ls-item {
  .cp-list-title-box {
    padding-right: 15px;
    margin-right: -15px;
    font-size: 12px;
    line-height: 18px;
    position: relative;
    overflow: hidden;
    flex: 0 0 auto;
    width: auto;

    @media (min-width: 992px) {
      max-width: 200px;
    }

    &:before {
      background: linear-gradient(270deg, var(--item-bg-color) 50%, hsla(0, 0%, 100%, 0) 133.33%);
      bottom: 1px;
      content: '';
      display: block;
      min-height: 23px;
      position: absolute;
      right: 0;
      top: 0;
      width: 16px;
      z-index: 10;
    }
  }

  body.rtl & {
    .cp-list-title-box,
    .ls-item-owner-type {
      padding-left: 15px;
      margin-left: -15px;
      &:before {
        background: linear-gradient(90deg, var(--item-bg-color) 50%, hsla(0, 0%, 100%, 0) 133.33%);
        left: 0;
        right: auto;
      }
    }
  }

  &.selected {
    body.rtl & {
      .cp-list-title-box {
        &:before {
          background: linear-gradient(90deg, var(--svc-listing-mark-bgcolor) 50%, hsla(0, 0%, 100%, 0) 133.33%);
        }
      }
    }
  }
}

.owl-item .cp-verify-ico {
  display: inline !important;
}

.cp-best-company-item {
  .cp-list-title-box {
    align-items: flex-start;
  }
}

.l-svc-item-info {
  img {
    object-fit: contain;
  }
}

/*custom blocks*/
.g-item-owner-type,
.ls-item-owner-type {
  display: flex;
  align-items: center;
  color: var(--text-color);
  width: 100%;
}

@media (min-width: 768px) {
  .l-aside-filter-vert {
    & + .c-company-open-banner {
      margin-top: 20px;
    }
  }
}

/*remove after 3.9.2*/
/* Labels Positioning - Top */
.c-item-labels {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 5px;

  &:not(:has(*)):not(:empty) {
    display: none;
  }

  .badge {
    padding: 4px 8px;
  }
}

@media (max-width: 767px) {
  .g-item-box-cols-mobile {
    .mp-g-item {
      .g-item-price-box {
        padding-right: 30px;
      }
    }
    body.rtl & {
      .mp-g-item {
        .g-item-price-box {
          padding-left: 30px;
          padding-right: 0;
        }
      }
    }
  }

  .g-item-box-2-in-row-mobile {
    .g-item-price-box {
      overflow: hidden;
      position: relative;

      &:after {
        background: linear-gradient(270deg, var(--item-bg-color) 50%, hsla(0, 0%, 100%, 0) 133.33%);
        bottom: 1px;
        content: "";
        display: block;
        min-height: 23px;
        position: absolute;
        right: 0;
        top: 0;
        width: 16px;
        z-index: 10;
      }
    }
  }
}

.j-custom-scroll:not(.ps) {
  overflow-y: auto;
  scrollbar-color: var(--muted-icons-color) transparent;
  scrollbar-width: thin;
}

.j-custom-scroll::-webkit-scrollbar-button {
  display: none;
}

.j-custom-scroll::-webkit-scrollbar-thumb {
  border-radius: 0;
}